Fabio Manganiello
98a300c4b1
Added NetworkInterface
entities to system
plugin.
...
Plus, `platypush.schemas.system` has now been split into multiple
submodules to avoid a single-file mega-module with all the system
schemas definitions.
2023-04-21 00:45:15 +02:00
Fabio Manganiello
44b8fd4b34
Support for disk
entities in the system
integration.
2023-04-20 16:26:51 +02:00
Fabio Manganiello
6b03451386
Better responsive alignment for the collapse toggler.
2023-04-20 16:26:05 +02:00
Fabio Manganiello
e8c96ad35d
Added convertTime
utility function
2023-04-20 02:27:58 +02:00
Fabio Manganiello
153d03d43f
Moved CPU percentage on the level of the CPU entity instead of a child entity.
2023-04-19 01:48:05 +02:00
Fabio Manganiello
4ebfbf3851
Added memory stats entities.
2023-04-19 01:31:11 +02:00
Fabio Manganiello
1cee0459cf
Added CpuFrequency
entity to system
.
2023-04-18 01:49:36 +02:00
Fabio Manganiello
a5b0a524f6
Added CpuStats
entity to system
.
2023-04-18 01:19:06 +02:00
Fabio Manganiello
4842c1911b
Frontend entities should have a reference to allEntities
.
...
There are probably more optimal ways of achieving this other than
passing a reference to the full list of entities to each of the
entities, such as running a BFS to recursively expand all the entities
within the child hierarchy of an entity.
This is needed because the entity needs to know which entities aren't
direct children, but are two or more layers down in the hierarchy, so
they should be passed to their own child entities.
2023-04-17 02:25:03 +02:00
Fabio Manganiello
e810025a6d
Added Cpu
and CpuTimes
entities.
2023-04-17 02:25:03 +02:00
Fabio Manganiello
65481dc6b4
Added PercentSensor
entity type.
2023-04-17 02:25:02 +02:00
Fabio Manganiello
186a21f715
Added CpuInfo entity frontend components.
2023-04-17 02:25:01 +02:00
Fabio Manganiello
d5ddc0c65e
Migrated arduino
integration to the new SensorPlugin
API.
2023-04-03 01:36:12 +02:00
Fabio Manganiello
cf16076bce
Added icons for new entity sensor sources.
2023-04-03 01:36:11 +02:00
Fabio Manganiello
5a6f4bcf57
Added 3-axis sensor, accelerometer and magnetometer entities
2023-04-02 01:13:22 +02:00
Fabio Manganiello
d964167631
s/TimeDurationSensor/TimeDuration/g
2023-04-02 00:57:48 +02:00
Fabio Manganiello
839c6108a0
Added sensor.*
icon classes
2023-04-02 00:40:50 +02:00
Fabio Manganiello
226034946f
Added distance_sensor
entity
2023-03-31 14:22:28 +02:00
Fabio Manganiello
cf91ab90df
Increased default width of nav
on desktop+
2023-03-26 23:10:46 +02:00
Fabio Manganiello
295758bb20
Added frontend components for cloud instances.
2023-03-26 12:27:17 +02:00
Fabio Manganiello
f49b866a51
Focus the <input> element when a <NameEditor> element is created.
2023-03-22 21:28:21 +01:00
Fabio Manganiello
dd80dc998c
Show entity icon and type in the list of children entities on EntityModal.
2023-03-22 21:26:59 +01:00
Fabio Manganiello
239dd17f23
Exclude from the list of display children on EntityModal those with no name or that are configuration values.
2023-03-22 16:38:38 +01:00
Fabio Manganiello
5dd95362a1
Include links both to the parent and children entities in EntityModal.
2023-03-22 16:20:29 +01:00
Fabio Manganiello
486f37a45e
Support sensor value reported both on value
as well as _value
fields.
2023-03-22 14:11:13 +01:00
Fabio Manganiello
bfc87e0f7b
Display arrays and objects in the entity modal as prettified JSON.
2023-03-22 13:50:35 +01:00
Fabio Manganiello
e9abb5cb9a
Implemented support for child entities in entity modals.
2023-03-21 16:02:02 +01:00
Fabio Manganiello
718e0434ba
Display all available entity attributes on EntityModal.
2023-03-20 14:32:03 +01:00
Fabio Manganiello
78bbe71be1
Another .pull-right fix.
2023-03-20 02:04:32 +01:00
Fabio Manganiello
431dedf3eb
BluetoothDevice moved to its own component, with device connect support.
2023-03-20 01:28:12 +01:00
Fabio Manganiello
0a4b22c12e
Implemented connect/disconnect call on BluetoothService component.
2023-03-20 01:27:47 +01:00
Fabio Manganiello
714f853751
Pass the list of children to the entity component.
2023-03-20 01:27:21 +01:00
Fabio Manganiello
a011de890b
Better .pull-right class implementation.
2023-03-20 01:26:48 +01:00
Fabio Manganiello
2b5596820b
Made Types.objectsEqual method more robust against null input
2023-03-19 22:50:23 +01:00
Fabio Manganiello
71a3481560
Better style for the sidebar/nav
2023-03-19 22:23:37 +01:00
Fabio Manganiello
aa04741daa
Added BluetoothService UI component
2023-03-19 12:53:23 +01:00
Fabio Manganiello
f74fab795d
Added parent
component value to Entity
.
2023-03-19 12:50:45 +01:00
Fabio Manganiello
2dfb389630
Added remaining bluetooth
entity types in _mappers.py
.
2023-02-23 21:20:41 +01:00
Fabio Manganiello
a0556d3a42
Added PresenceSensor
entities.
2023-02-23 01:42:26 +01:00
Fabio Manganiello
56d693032a
Added DewPointSensor
entities.
2023-02-23 01:23:04 +01:00
Fabio Manganiello
d212276247
Added PressureSensor
entities.
2023-02-23 01:12:27 +01:00
Fabio Manganiello
d961e2a997
Added TimeDurationSensor
entity.
2023-02-23 01:02:13 +01:00
Fabio Manganiello
c3e16f9f9d
Added support for heart rate sensor entities.
2023-02-23 00:55:55 +01:00
Fabio Manganiello
e1b3d52706
Added StepsSensor
entity.
2023-02-23 00:45:58 +01:00
Fabio Manganiello
bbc9647cb0
s/MultiValueSensor/CompositeSensor/g
2023-02-21 23:14:10 +01:00
Fabio Manganiello
cb9b01c89f
Added raw_sensor metadata
2023-02-19 22:57:50 +01:00
Fabio Manganiello
a3aa186ddf
- Added support for scan_pause
/scan_resume
on bluetooth
integration.
...
- Added `BluetoothDevice` as its own entity type.
2023-02-13 23:12:25 +01:00
Fabio Manganiello
4365352331
[WIP] s/set_value/set/g for entities
2023-02-11 03:57:23 +01:00
Fabio Manganiello
db5846d296
Add the unit to the Dimmer
display value if it's available
2023-02-04 17:28:54 +01:00
Fabio Manganiello
b6814b4f16
Removed legacy Switches integration [frontend]
2023-02-03 22:49:09 +01:00
Fabio Manganiello
afdeb91f66
Implemented remaining supported entities for the smartthings
integration
2023-01-26 22:10:02 +01:00
Fabio Manganiello
fd76642082
Added Volume
and Muted
entities
2023-01-22 21:04:46 +01:00
Fabio Manganiello
dabbe031ab
Don't show the entity modal unless the user clicks on the name or icon
2023-01-21 23:46:38 +01:00
Fabio Manganiello
3940288396
Use the new bus notification helpers
2023-01-21 16:59:18 +01:00
Fabio Manganiello
241670c9d0
Handle parent/child update events through broadcast bus events
2023-01-21 16:58:28 +01:00
Fabio Manganiello
3923a09831
- Expose methods on the bus module to publish/subscribe to notifications and entity updates
...
- Removed some redundant `pass` statements in Z-Wave derived event classes
2023-01-21 16:56:27 +01:00
Fabio Manganiello
fb562bb415
Propagate the @update event to the parent entities
2023-01-21 14:55:06 +01:00
Fabio Manganiello
dfb13127ee
Added MotionSensor entities
2023-01-21 14:47:18 +01:00
Fabio Manganiello
22b8b03cb2
Refactored EntityIcon component
2023-01-15 20:02:50 +01:00
Fabio Manganiello
9a5e2899e8
Support for external_url and image_url on entities
2023-01-15 20:01:47 +01:00
Fabio Manganiello
2cc5e3f726
UI tweaks
2023-01-15 15:46:25 +01:00
Fabio Manganiello
9e4fbc6a21
Defined the collapsed data property on EntityMixin level
2023-01-15 15:29:26 +01:00
Fabio Manganiello
78e250186b
Deallocate the color converter when the light component is unmounted
2023-01-15 15:25:04 +01:00
Fabio Manganiello
e9371ac5d0
Improved entity collapse logic
...
- Toggle collapsed state also if clicked on the gap between the entity
name and the right edge, instead of opening the entity modal. The
entity configuration modal should open only when clicking on the
entity name or icon (and these should be highlighted on hover as links
as well).
- The collapsed state update should be propagated to the wrapped
component as well, if applicable.
2023-01-15 15:03:53 +01:00
Fabio Manganiello
dbf5ed3b85
s/expanded/collapsed/g (for naming consistency)
2023-01-15 14:26:44 +01:00
Fabio Manganiello
bb483fd1b1
Using a nice gradient for hover-bg
2023-01-15 12:34:18 +01:00
Fabio Manganiello
afd9a1d6bf
Don't load entities that only have non-queriable children
2023-01-14 22:33:53 +01:00
Fabio Manganiello
2778357a9e
Wrapped dynamic Vue components in shallowRef.
...
The performance of the page is heavily degraded by components loaded
dynamically via defineAsyncComponent that recursively carry behind the
whole Vue machinery.
By wrapping defineAsyncComponent calls in shallowRef we make sure that
we only wire the root level of the newly created dynamic component.
2023-01-14 22:31:48 +01:00
Fabio Manganiello
fd2d83c80b
Renamed Notification mixin's warn and error methods.
...
Renamed to `notifyWarning` and `notifyError` respectively.
Those names can often clash with other properties defined on components
that extend the mixin (like entities).
2023-01-14 22:27:43 +01:00
Fabio Manganiello
aa22507f50
DropdownItem.className should not be enforced to be a string.
...
It can also be a class -> boolean object.
2023-01-14 22:11:05 +01:00
Fabio Manganiello
22a566a88b
More refactors and fixes for zigbee.mqtt
2023-01-13 02:58:47 +01:00
Fabio Manganiello
27b23b7fae
Normalize array/dict options for values on EnumSwitch
2023-01-09 01:01:35 +01:00
Fabio Manganiello
c215c693f5
Only pass children that aren't configuration values to the entities
2023-01-03 23:25:43 +01:00
Fabio Manganiello
7868d6fe37
Support for nested configuration objects on entity modals
2023-01-03 23:16:14 +01:00
Fabio Manganiello
13eb515f87
Select current display value by default on EnumSwitch
2023-01-03 23:14:57 +01:00
Fabio Manganiello
81fee3ea2a
Style tweaks
2023-01-03 23:11:39 +01:00
Fabio Manganiello
71ed545cc7
Fancier gradient background for the navigator header
2023-01-02 23:28:53 +01:00
Fabio Manganiello
b0671354ea
(Tentative) support for zwave light colors
2023-01-02 12:50:01 +01:00
Fabio Manganiello
80c2c77272
Support for entities with children on the frontend
2023-01-01 23:06:40 +01:00
Fabio Manganiello
ecba72935f
Check for table metadata existance in Base.metadata
instead of having a separate entity registry
2022-12-04 16:28:46 +01:00
Fabio Manganiello
78c59f437a
Added support for illuminance sensor entities
2022-11-27 22:38:58 +01:00
Fabio Manganiello
b1a7a7d915
Fixed little overlap between the entities' header and the navigator
2022-11-27 12:56:39 +01:00
Fabio Manganiello
b5653e070e
Style improvements for the main navigator
2022-11-27 12:56:17 +01:00
Fabio Manganiello
681f307d04
A more self-explanatory icon for entity grouping selections
2022-11-27 00:56:47 +01:00
Fabio Manganiello
bba582875a
The data
attribute on EntityUpdateEvent
shouldn't be taken into account for flashing updates
2022-11-27 00:56:23 +01:00
Fabio Manganiello
e8d6717fcb
Added input box for <Dimmer> entities
2022-11-27 00:56:01 +01:00
Fabio Manganiello
bd59a5eefd
Support for range labels on <Slider>
2022-11-27 00:55:19 +01:00
Fabio Manganiello
faa8295469
White background for main nav
2022-11-26 01:52:42 +01:00
Fabio Manganiello
d29723ea41
Keep the main menu items vertically aligned to the center also on tablets
2022-11-26 01:28:20 +01:00
Fabio Manganiello
d0c8a8edf9
A bit of padding for LightHue on mobile
2022-11-26 01:19:52 +01:00
Fabio Manganiello
37254cad1a
Mobile UI improvements
2022-11-26 01:16:07 +01:00
Fabio Manganiello
f28f08dd1a
Keep the main menu open on page load by default on >= desktop
2022-11-26 01:15:03 +01:00
Fabio Manganiello
fecd96f64c
Solved issue with main menu shrinking a bit when the main panel has too much wide content
2022-11-26 00:32:11 +01:00
Fabio Manganiello
33cc055249
Switched expanded main menu to light colors
2022-11-26 00:31:36 +01:00
Fabio Manganiello
a57e67b96f
Better style for the settings' users and token panels
2022-11-25 23:16:16 +01:00
Fabio Manganiello
21c1c96f2e
Use Dropdown for the settings menu
2022-11-25 23:15:41 +01:00
Fabio Manganiello
292ed2abff
Better style for dropdown items.
...
- Larger icon div to prevent text overlapping with icons
- Support for `selected` class
2022-11-25 23:14:28 +01:00
Fabio Manganiello
e579fb3417
Don't display sensors with null value
2022-11-21 00:05:19 +01:00
Fabio Manganiello
b9e6614b04
Added support for EnumSensor
entities
2022-11-21 00:04:07 +01:00
Fabio Manganiello
7fac5392b8
Blink entities only if their values have actually changed
2022-11-13 23:52:21 +01:00