From 1a374cf596ebd2fa72d20b5a9d39093820dffa4d Mon Sep 17 00:00:00 2001 From: Sanjoy Ghosh Date: Mon, 4 Nov 2024 21:21:59 +0530 Subject: [PATCH] Fix to icons --- custom_components/dirigera_platform/icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/dirigera_platform/icons.py b/custom_components/dirigera_platform/icons.py index 35215f9..3283f4d 100644 --- a/custom_components/dirigera_platform/icons.py +++ b/custom_components/dirigera_platform/icons.py @@ -86,7 +86,7 @@ } def ikea_to_hass_icon(ikea_icon) -> str: - if ikea_icon not in ikea_to_hass_mapping: + if ikea_icon in ikea_to_hass_mapping: return ikea_to_hass_mapping[ikea_icon] logger.warning(f"Unknown icon {ikea_icon}")