Skip to content

Commit

Permalink
Fix to icons
Browse files Browse the repository at this point in the history
  • Loading branch information
c503ghosh committed Nov 4, 2024
1 parent 15f06fb commit 1a374cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/dirigera_platform/icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 1a374cf

Please sign in to comment.