Set the correct state class for Eve Energy in homekit_controller (#81255)
This commit is contained in:
parent
d5a46c3a10
commit
eb76f9b3cb
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ SIMPLE_SENSOR: dict[str, HomeKitSensorEntityDescription] = {
|
|||
key=CharacteristicsTypes.VENDOR_EVE_ENERGY_KW_HOUR,
|
||||
name="Energy kWh",
|
||||
device_class=SensorDeviceClass.ENERGY,
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
state_class=SensorStateClass.TOTAL_INCREASING,
|
||||
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
|
||||
),
|
||||
CharacteristicsTypes.VENDOR_EVE_ENERGY_VOLTAGE: HomeKitSensorEntityDescription(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue