mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-21 13:44:45 +01:00
Update pages.py
This commit is contained in:
@@ -68,7 +68,7 @@ class LuiPagesGen(object):
|
|||||||
if self._ha_api.entity_exists(we_name):
|
if self._ha_api.entity_exists(we_name):
|
||||||
we = self._ha_api.get_entity(we_name)
|
we = self._ha_api.get_entity(we_name)
|
||||||
else:
|
else:
|
||||||
LOGGER.error("Skipping Weather Update, entity {we_name} not found")
|
LOGGER.error(f"Skipping Weather Update, entity {we_name} not found")
|
||||||
return
|
return
|
||||||
|
|
||||||
icon_cur = get_icon_id_ha("weather", state=we.state)
|
icon_cur = get_icon_id_ha("weather", state=we.state)
|
||||||
|
|||||||
Reference in New Issue
Block a user