forked from home-assistant/core
Change state_class so older Envoys can use Energy Dashboard (#55383)
This commit is contained in:
@@ -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(
|
||||||
|
Reference in New Issue
Block a user