From f8399b2c0fa6e71fbfc2ff28d96bf8f7bf133364 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 27 Dec 2024 13:17:47 +0100 Subject: [PATCH] Revert "Add state_class to EcoWittSensorTypes.DEGREE" (#134079) --- homeassistant/components/ecowitt/sensor.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/ecowitt/sensor.py b/homeassistant/components/ecowitt/sensor.py index 50989010ae5..23af2f2a3af 100644 --- a/homeassistant/components/ecowitt/sensor.py +++ b/homeassistant/components/ecowitt/sensor.py @@ -65,9 +65,7 @@ ECOWITT_SENSORS_MAPPING: Final = { state_class=SensorStateClass.MEASUREMENT, ), EcoWittSensorTypes.DEGREE: SensorEntityDescription( - key="DEGREE", - native_unit_of_measurement=DEGREE, - state_class=SensorStateClass.MEASUREMENT, + key="DEGREE", native_unit_of_measurement=DEGREE ), EcoWittSensorTypes.WATT_METERS_SQUARED: SensorEntityDescription( key="WATT_METERS_SQUARED",