From 8f518d38117d303ce1f0b7c0453430f2f8d344b3 Mon Sep 17 00:00:00 2001 From: Guy Khmelnitsky <3136012+GuyKh@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:21:35 +0200 Subject: [PATCH] fix: Dust weather state as Exceptional --- custom_components/ims/const.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/custom_components/ims/const.py b/custom_components/ims/const.py index 1cf0885..41d7473 100644 --- a/custom_components/ims/const.py +++ b/custom_components/ims/const.py @@ -16,8 +16,7 @@ ATTR_CONDITION_SNOWY, ATTR_CONDITION_SNOWY_RAINY, ATTR_CONDITION_SUNNY, - ATTR_CONDITION_WINDY, - ATTR_CONDITION_WINDY_VARIANT, + ATTR_CONDITION_WINDY ) from homeassistant.const import ( Platform, @@ -186,7 +185,7 @@ "1530": ATTR_CONDITION_RAINY, "1540": ATTR_CONDITION_RAINY, "1560": ATTR_CONDITION_RAINY, - "1570": ATTR_CONDITION_WINDY_VARIANT, + "1570": ATTR_CONDITION_EXCEPTIONAL, "1580": ATTR_CONDITION_EXCEPTIONAL, "1590": ATTR_CONDITION_EXCEPTIONAL, }