mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2025-12-21 23:14:25 +01:00
fix icons on shutter detail page
This commit is contained in:
@@ -477,7 +477,7 @@ class LuiPagesGen(object):
|
||||
def generate_shutter_detail_page(self, entity):
|
||||
entity = self._ha_api.get_entity(entity)
|
||||
entityType="cover"
|
||||
device_class = entity.attributes.get("device_class", "")
|
||||
device_class = entity.attributes.get("device_class", "window")
|
||||
icon_id = get_icon_id_ha(entityType, state=entity.state, device_class=device_class)
|
||||
|
||||
pos = entity.attributes.get("current_position")
|
||||
|
||||
Reference in New Issue
Block a user