Define unit_of_measurement
of all utility_meter
sensors on HA start (#56112)
* define unit_of_measurement on hass start * delay utility_meter state * check state * store siblings * don't check unit_of_measurement
This commit is contained in:
parent
5976f898da
commit
ec9fc0052d
4 changed files with 97 additions and 37 deletions
|
@ -22,6 +22,7 @@ METER_TYPES = [
|
|||
]
|
||||
|
||||
DATA_UTILITY = "utility_meter_data"
|
||||
DATA_TARIFF_SENSORS = "utility_meter_sensors"
|
||||
|
||||
CONF_METER = "meter"
|
||||
CONF_SOURCE_SENSOR = "source"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue