mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Add STATE_CLASS_MEASUREMENT to Tibber (#53802)
This commit is contained in:
parent
14db83e4c1
commit
e4fe27061a
@ -77,12 +77,14 @@ RT_SENSOR_MAP: dict[str, TibberSensorEntityDescription] = {
|
|||||||
key="power",
|
key="power",
|
||||||
name="power",
|
name="power",
|
||||||
device_class=DEVICE_CLASS_POWER,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
unit_of_measurement=POWER_WATT,
|
unit_of_measurement=POWER_WATT,
|
||||||
),
|
),
|
||||||
"powerProduction": TibberSensorEntityDescription(
|
"powerProduction": TibberSensorEntityDescription(
|
||||||
key="powerProduction",
|
key="powerProduction",
|
||||||
name="power production",
|
name="power production",
|
||||||
device_class=DEVICE_CLASS_POWER,
|
device_class=DEVICE_CLASS_POWER,
|
||||||
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
unit_of_measurement=POWER_WATT,
|
unit_of_measurement=POWER_WATT,
|
||||||
),
|
),
|
||||||
"minPower": TibberSensorEntityDescription(
|
"minPower": TibberSensorEntityDescription(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user