From 26157dd11be2c2fa65cd40782a38293617097f99 Mon Sep 17 00:00:00 2001 From: joBr99 <29555657+joBr99@users.noreply.github.com> Date: Sun, 18 Dec 2022 19:55:13 +0100 Subject: [PATCH] fixes #621 --- apps/nspanel-lovelace-ui/luibackend/icons.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/apps/nspanel-lovelace-ui/luibackend/icons.py b/apps/nspanel-lovelace-ui/luibackend/icons.py index 3e76902f..42f83049 100644 --- a/apps/nspanel-lovelace-ui/luibackend/icons.py +++ b/apps/nspanel-lovelace-ui/luibackend/icons.py @@ -116,16 +116,16 @@ sensor_mapping = { cover_mapping = { #"device_class": ("icon-open", "icon-closed", "icon-cover-open", "icon-cover-stop", "icon-cover-close") - "awning": ("window-open", "window-closed", "arrow-up", "stop", "arrow-down"), - "blind": ("blinds-open", "blinds", "arrow-up", "stop", "arrow-down"), - "curtain": ("curtains-closed", "curtains", "arrow-expand-horizontal", "stop", "arrow-collapse-horizontal"), - "damper": ("checkbox-blank-circle", "circle-slice-8", "arrow-up", "stop", "arrow-down"), - "door": ("door-open", "door-closed", "arrow-expand-horizontal", "stop", "arrow-collapse-horizontal"), - "garage": ("garage-open", "garage", "arrow-up", "stop", "arrow-down"), - "gate": ("gate-open", "gate", "arrow-expand-horizontal", "stop", "arrow-collapse-horizontal"), - "shade": ("blinds-open", "blinds", "arrow-up", "stop", "arrow-down"), - "shutter": ("window-shutter-open", "window-shutter", "arrow-up", "stop", "arrow-down"), - "window": ("window-open", "window-closed", "arrow-up", "stop", "arrow-down"), + "awning": ("window-open", "window-closed", "arrow-up", "stop", "arrow-down"), + "blind": ("blinds-open", "blinds", "arrow-up", "stop", "arrow-down"), + "curtain": ("curtains", "curtains-closed", "arrow-expand-horizontal", "stop", "arrow-collapse-horizontal"), + "damper": ("checkbox-blank-circle", "circle-slice-8", "arrow-up", "stop", "arrow-down"), + "door": ("door-open", "door-closed", "arrow-expand-horizontal", "stop", "arrow-collapse-horizontal"), + "garage": ("garage-open", "garage", "arrow-up", "stop", "arrow-down"), + "gate": ("gate-open", "gate", "arrow-expand-horizontal", "stop", "arrow-collapse-horizontal"), + "shade": ("blinds-open", "blinds", "arrow-up", "stop", "arrow-down"), + "shutter": ("window-shutter-open", "window-shutter", "arrow-up", "stop", "arrow-down"), + "window": ("window-open", "window-closed", "arrow-up", "stop", "arrow-down"), } simple_type_mapping = {