For automations eg. unit-prefix aware numeric state triggers would be nice so we don’t have to know an entities exact unit of measurement.
trigger:
- platform: numeric_state
entity_id: sensor.some_power
# matches for > 1000 W equally as for 1 kW
# regardless of the entities used prefix
above: 1 kW
For the frontend it would be nice if a state of eg. 123 Watts would be rendered as 123 W
but a state of 1230 Watts as 1,23 kW
. Equally a state of 0.02 kW would be rendered as 20 W
.