mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add state_class to EcoWittSensorTypes.DEGREE (#134004)
Add state_class to EcoWittSensorTypes.DEGREE (#129260)
This commit is contained in:
parent
a53c92d4b5
commit
9840785363
@ -65,7 +65,9 @@ ECOWITT_SENSORS_MAPPING: Final = {
|
|||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
EcoWittSensorTypes.DEGREE: SensorEntityDescription(
|
EcoWittSensorTypes.DEGREE: SensorEntityDescription(
|
||||||
key="DEGREE", native_unit_of_measurement=DEGREE
|
key="DEGREE",
|
||||||
|
native_unit_of_measurement=DEGREE,
|
||||||
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
),
|
),
|
||||||
EcoWittSensorTypes.WATT_METERS_SQUARED: SensorEntityDescription(
|
EcoWittSensorTypes.WATT_METERS_SQUARED: SensorEntityDescription(
|
||||||
key="WATT_METERS_SQUARED",
|
key="WATT_METERS_SQUARED",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user