forked from home-assistant/core
Add STATE_CLASS_MEASUREMENT to Tibber (#53802)
This commit is contained in:
committed by
Paulus Schoutsen
parent
2e441d8b7c
commit
5f8f1ae695
@@ -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(
|
||||
|
Reference in New Issue
Block a user