From 001457757880baf99703b9a1e248009602720fb7 Mon Sep 17 00:00:00 2001 From: DOUGLAS FERGUSSON Date: Wed, 1 Nov 2023 10:30:55 +0800 Subject: [PATCH] fix: Removed state_class and native_unit_of_measurement from wind direction sensor --- custom_components/bureau_of_meteorology/const.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/bureau_of_meteorology/const.py b/custom_components/bureau_of_meteorology/const.py index 119b716..f751593 100644 --- a/custom_components/bureau_of_meteorology/const.py +++ b/custom_components/bureau_of_meteorology/const.py @@ -163,8 +163,6 @@ SensorEntityDescription( key=ATTR_API_WIND_DIRECTION, name="Wind Direction", - native_unit_of_measurement=DEGREE, - state_class=SensorStateClass.MEASUREMENT, ), SensorEntityDescription( key=ATTR_API_GUST_SPEED_KILOMETRE,