Revert "Add state_class to EcoWittSensorTypes.DEGREE" (#134079)

This commit is contained in:
Franck Nijhof 2024-12-27 13:17:47 +01:00 committed by GitHub
parent 415fdf4956
commit f8399b2c0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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