Add STATE_CLASS_MEASUREMENT to Tibber (#53802)

pull/53858/head
Daniel Hjelseth Høyer 2021-08-02 11:50:52 +02:00 committed by GitHub
parent 14db83e4c1
commit e4fe27061a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -77,12 +77,14 @@ RT_SENSOR_MAP: dict[str, TibberSensorEntityDescription] = {
key="power",
name="power",
device_class=DEVICE_CLASS_POWER,
state_class=STATE_CLASS_MEASUREMENT,
unit_of_measurement=POWER_WATT,
),
"powerProduction": TibberSensorEntityDescription(
key="powerProduction",
name="power production",
device_class=DEVICE_CLASS_POWER,
state_class=STATE_CLASS_MEASUREMENT,
unit_of_measurement=POWER_WATT,
),
"minPower": TibberSensorEntityDescription(