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
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
241670c9d0
Handle parent/child update events through broadcast bus events
2023-01-21 16:58:28 +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
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
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
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
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
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
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
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
Fabio Manganiello
833d908a32
Blink entities body upon update
2022-11-13 01:39:40 +01:00
Fabio Manganiello
f90d84a3d4
Don't wait for UI updates for entities that are not queriable
2022-11-13 00:54:37 +01:00
Fabio Manganiello
00a43dd1f8
Implemented `EnumSwitch` entity type
...
Done for `zigbee.mqtt`, other plugins will follow
2022-11-11 01:46:38 +01:00
Fabio Manganiello
801ed05684
Added support for binary sensors (in zigbee.mqtt for now)
2022-11-05 01:47:50 +01:00
Fabio Manganiello
6454f9d018
Propert snake case -> camel case conversion for backend entities -> frontend components
2022-11-04 22:53:24 +01:00
Fabio Manganiello
7db84acd34
Notify of entity scan timeouts on the console instead of creating tons of notifications
2022-11-02 22:24:06 +01:00
Fabio Manganiello
64513be6b8
Initial implementation of sensor entities.
...
Implemented (at least in `zigbee.mqtt`, for now):
- `TemperatureSensor`
- `HumiditySensor`
- `VoltageSensor`
- `CurrentSensor`
- `EnergySensor`
- `PowerSensor`
- `NumericSensor` (generic fallback 1)
- `RawSensor` (generic fallback 2)
- `Sensor` (root class)
2022-11-02 16:38:17 +01:00
Fabio Manganiello
440cd60d6e
A (slightly) smarter way to infer the plural spelling of singular entity names
2022-11-02 16:35:20 +01:00
Fabio Manganiello
3d1a08f7af
Changed default entity grouping on the frontend.
...
Changed from `type` to `category`, which is basically the `name_plural`
attribute of the associated entity type metadata.
This allows us to define distinct entity metadata entries that we still
want to share the same grouping - for instance, `temperature_sensor`,
`humidity_sensor` and `battery` should all be grouped under `Sensors` on
the frontend.
2022-11-02 16:33:12 +01:00
Fabio Manganiello
68dd09e8ae
Removed unused `expanded` data attribute
2022-11-02 16:31:50 +01:00
Fabio Manganiello
a1cf671334
Added support for link_quality entities to `zigbee.mqtt`
2022-10-30 11:03:22 +01:00
Fabio Manganiello
78dc8416fb
Snake case -> camel case for backend -> frontend entity types conversion
2022-10-30 11:01:46 +01:00
Fabio Manganiello
d61b053f72
Support for battery entities
2022-10-29 13:38:42 +02:00
Fabio Manganiello
951950c864
Added dimmer entities
2022-10-23 00:30:32 +02:00
Fabio Manganiello
3e6ebdd23b
Don't store/show the state of write-only toggle switches
2022-10-23 00:28:01 +02:00
Fabio Manganiello
5c68365188
Better management for entity error icons
2022-10-14 23:37:36 +02:00
Fabio Manganiello
7f575bacaa
Implemented the new zwavejs2mqtt features for adding and removing nodes
2022-10-14 23:28:02 +02:00
Fabio Manganiello
1b791156bd
Proper support for color zigbee lights
2022-10-12 03:00:42 +02:00
Fabio Manganiello
958ef6b987
Better entity modal padding
2022-10-07 11:12:30 +02:00
Fabio Manganiello
5b3e1317f4
Only refresh entities that are visible on the interface
2022-05-30 09:23:25 +02:00
Fabio Manganiello
1df71cb54a
Proper support for light entities on smartthings
2022-05-30 09:23:05 +02:00
Fabio Manganiello
0689e05e96
Apply the light color to the icon fill instead of the bulb icon itself
2022-05-30 09:18:19 +02:00
Fabio Manganiello
088cf23958
Do not emit input event from the light component upon update
...
It may be an incomplete update that breaks the UI, and it will be
overwritten by the backend event anyway
2022-05-01 21:08:02 +02:00
Fabio Manganiello
e8f4b7c10e
CSS adjustments
2022-05-01 15:44:57 +02:00
Fabio Manganiello
dd12d57552
Added light UI entity component
2022-05-01 15:35:20 +02:00
Fabio Manganiello
5aa3750807
Re-sync the list of entities when the entities component is mounted
2022-05-01 15:34:45 +02:00
Fabio Manganiello
f760d44224
Refactored/simplified UI code for entities management
2022-05-01 15:34:15 +02:00
Fabio Manganiello
b16af0a97f
Include entity `data` attributes in the entity info modal
2022-04-30 16:39:37 +02:00
Fabio Manganiello
47f8520f3b
Added support for description/read_only/write_only on entity level
2022-04-24 22:18:29 +02:00
Fabio Manganiello
d261b9bb9b
Frontend support for entities deletion
2022-04-24 21:40:10 +02:00
Fabio Manganiello
321a61d06d
Align .section.right content to the right
2022-04-24 11:30:52 +02:00
Fabio Manganiello
b22df768eb
Fixed entity icon alignment on mobile
2022-04-24 01:42:14 +02:00
Fabio Manganiello
8e2154f2b5
Do not overwrite an entity's state from an event if the state was not sampled
2022-04-24 01:41:45 +02:00
Fabio Manganiello
135965176d
Support for entity icon color change
2022-04-23 17:52:21 +02:00
Fabio Manganiello
ef6b57df31
Added entity info modal and (partial) support for renaming entities
2022-04-23 01:01:14 +02:00
Fabio Manganiello
7d4bd20df0
Support for individual entity group refresh
2022-04-19 23:56:49 +02:00
Fabio Manganiello
e6bfa1c50f
Better dynamic entities discovery
2022-04-13 11:25:14 +02:00