mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Change state_class so older Envoys can use Energy Dashboard (#55383)
This commit is contained in:
parent
4c854a06d9
commit
6a266ae3c0
@ -27,7 +27,7 @@ SENSORS = (
|
|||||||
key="daily_production",
|
key="daily_production",
|
||||||
name="Today's Energy Production",
|
name="Today's Energy Production",
|
||||||
native_unit_of_measurement=ENERGY_WATT_HOUR,
|
native_unit_of_measurement=ENERGY_WATT_HOUR,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_TOTAL_INCREASING,
|
||||||
device_class=DEVICE_CLASS_ENERGY,
|
device_class=DEVICE_CLASS_ENERGY,
|
||||||
),
|
),
|
||||||
SensorEntityDescription(
|
SensorEntityDescription(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user