From 5a438c6724341bb59eb4300c719aaf52237d926f Mon Sep 17 00:00:00 2001 From: Marco Gosselink Date: Wed, 14 Feb 2024 15:42:16 +0100 Subject: [PATCH] Corrected possible states of windrose --- custom_components/davis_vantage/sensor.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/custom_components/davis_vantage/sensor.py b/custom_components/davis_vantage/sensor.py index dd2712e..79f7f9b 100755 --- a/custom_components/davis_vantage/sensor.py +++ b/custom_components/davis_vantage/sensor.py @@ -304,14 +304,14 @@ def get_sensor_descriptions(model: str) -> list[SensorEntityDescription]: device_class=SensorDeviceClass.ENUM, translation_key="wind_direction_rose", options=[ - "N", - "NE", - "E", - "SE", - "S", - "SW", - "W", - "NW" + "n", + "ne", + "e", + "se", + "s", + "sw", + "w", + "nw" ] ), SensorEntityDescription(