Fix Tibber last reset (#54582)

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
pull/54734/head
Daniel Hjelseth Høyer 2021-08-16 04:57:18 +02:00 committed by GitHub
parent bab7d46c9b
commit b2f73b3c69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,7 @@ RT_SENSOR_MAP: dict[str, TibberSensorEntityDescription] = {
device_class=DEVICE_CLASS_ENERGY,
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
state_class=STATE_CLASS_MEASUREMENT,
reset_type=ResetType.NEVER,
),
"lastMeterProduction": TibberSensorEntityDescription(
key="lastMeterProduction",
@ -144,6 +145,7 @@ RT_SENSOR_MAP: dict[str, TibberSensorEntityDescription] = {
device_class=DEVICE_CLASS_ENERGY,
native_unit_of_measurement=ENERGY_KILO_WATT_HOUR,
state_class=STATE_CLASS_MEASUREMENT,
reset_type=ResetType.NEVER,
),
"voltagePhase1": TibberSensorEntityDescription(
key="voltagePhase1",