Add state_class to EcoWittSensorTypes.DEGREE (#134004)

Add state_class to EcoWittSensorTypes.DEGREE (#129260)
This commit is contained in:
Thomas Kunzfeld 2024-12-27 00:12:54 +01:00 committed by GitHub
parent a53c92d4b5
commit 9840785363
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,9 @@ ECOWITT_SENSORS_MAPPING: Final = {
state_class=SensorStateClass.MEASUREMENT,
),
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(
key="WATT_METERS_SQUARED",