mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Fix solax state class of Today's Generated Energy
(#146492)
This commit is contained in:
parent
167e688139
commit
ba5d0f2723
@ -42,7 +42,7 @@ SENSOR_DESCRIPTIONS: dict[tuple[Units, bool], SensorEntityDescription] = {
|
||||
key=f"{Units.KWH}_{False}",
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
),
|
||||
(Units.KWH, True): SensorEntityDescription(
|
||||
key=f"{Units.KWH}_{True}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user