Fix solax state class of Today's Generated Energy (#146492)

This commit is contained in:
Jesse Hills 2025-06-11 22:46:40 +12:00 committed by GitHub
parent 167e688139
commit ba5d0f2723
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}",