From: Giorgio Ravera Date: Tue, 11 Jul 2023 22:13:31 +0000 (+0200) Subject: Updated netatmo devices lovelace page X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=9b218a2724c9916bde817f9d919237b3df96f40e;p=homeassistant.git Updated netatmo devices lovelace page --- diff --git a/.storage/lovelace b/.storage/lovelace index 7ed87340..64fc3bc5 100644 --- a/.storage/lovelace +++ b/.storage/lovelace @@ -36,7 +36,6 @@ { "title": "Stanze", "type": "custom:layout-card", - "template": "template_grid_layout", "cards": [ { "type": "picture-glance", @@ -221,7 +220,8 @@ "grid-template-areas": "\"first second\"\n\"third fourth\"\n\"fifth sixth\"\n\"seventh eighth\"\n\"nineth tenth\"\n\"eleventh twelfth\"\n" } } - } + }, + "layout_type": "custom:grid-layout" }, { "type": "custom:layout-card", @@ -1608,6 +1608,13 @@ "view_layout": { "position": "main" } + }, + { + "type": "energy-distribution", + "link_dashboard": true, + "view_layout": { + "position": "sidebar" + } } ] }, @@ -2073,47 +2080,6 @@ ] } ] - }, - { - "title": "Operazioni Pianificate", - "path": "schedule", - "icon": "mdi:clock-outline", - "badges": [], - "cards": [ - { - "type": "custom:scheduler-card", - "title": "Pianificazione Luci", - "include": [ - "light" - ], - "discover_existing": true, - "view_layout": { - "position": "sidebar" - } - }, - { - "type": "custom:scheduler-card", - "title": "Pianificazione Tapparelle", - "include": [ - "cover" - ], - "discover_existing": true, - "view_layout": { - "position": "sidebar" - } - }, - { - "type": "custom:scheduler-card", - "title": "Pianificazione Valvole", - "include": [ - "climate" - ], - "discover_existing": true, - "view_layout": { - "position": "sidebar" - } - } - ] } ] } diff --git a/.storage/lovelace.lovelace_devices b/.storage/lovelace.lovelace_devices new file mode 100644 index 00000000..12c6369b --- /dev/null +++ b/.storage/lovelace.lovelace_devices @@ -0,0 +1,3396 @@ +{ + "version": 1, + "minor_version": 1, + "key": "lovelace.lovelace_devices", + "data": { + "config": { + "views": [ + { + "title": "Dispositivi di Rete", + "path": "network-devices", + "icon": "mdi:network-outline", + "type": "custom:horizontal-layout", + "layout": { + "width": 300, + "max_cols": 3 + }, + "badges": [], + "cards": [ + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Intel NUC10i5FNH" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/intel_nuc.png", + "tap_action": { + "action": "url", + "url_path": "https://pve.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "binary_sensor.pve_server", + "name": "VM Debian", + "show_name": true, + "show_icon": true, + "show_state": false, + "color-type": "card", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ] + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "binary_sensor.pve_docker", + "name": "VM Docker", + "show_name": true, + "show_icon": true, + "show_state": false, + "color-type": "card", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ] + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "binary_sensor.pve_firewall", + "name": "VM Firewall", + "show_name": true, + "show_icon": true, + "show_state": false, + "color-type": "card", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ] + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "binary_sensor.pve_asterisk", + "name": "VM Asterisk", + "show_name": true, + "show_icon": true, + "show_state": false, + "color-type": "card", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "FRITZ!Box 7590" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/fritzbox_7590.png", + "tap_action": { + "action": "url", + "url_path": "https://fritz.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "layout": "icon_name_state", + "name": "Riavvia Dispositivo", + "tap_action": { + "action": "call-service", + "service": "shell_command.fritz_reboot" + }, + "show_icon": true, + "show_state": false, + "icon": "mdi:restart", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "name": "Ricollega a WAN", + "tap_action": { + "action": "call-service", + "service": "shell_command.fritz_reconnect" + }, + "show_icon": true, + "show_state": false, + "icon": "mdi:connection", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "switch.fritz_led", + "name": "LED", + "show_icon": true, + "show_state": false, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "FRITZ!Box 7530 AX" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/fritzbox_7530_ax.png", + "tap_action": { + "action": "url", + "url_path": "https://ap1.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "layout": "icon_name_state", + "name": "Riavvia Dispositivo", + "tap_action": { + "action": "call-service", + "service": "shell_command.ap1_reboot" + }, + "show_icon": true, + "show_state": false, + "icon": "mdi:restart", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "switch.ap1_led", + "name": "LED", + "show_icon": true, + "show_state": false, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "NAS QNAP TS-228A" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/qnap_ts228a.png", + "tap_action": { + "action": "url", + "url_path": "https://nas.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "switch.nas", + "name": "Stato", + "show_name": false, + "show_icon": true, + "show_state": true, + "color-type": "card", + "icon": "mdi:power", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + } + ], + "tap_action": { + "action": "toggle", + "confirmation": { + "text": "Sei sicuro di voler procedere?" + } + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "name": "Gestione", + "show_name": true, + "show_icon": true, + "show_state": true, + "icon": "mdi:cogs", + "tap_action": { + "action": "url", + "url_path": "https://nas.giorgioravera.it" + }, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "script.plex_start", + "name": "Avvia Plex", + "show_icon": true, + "show_state": false, + "icon": "mdi:plex", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "tap_action": { + "action": "call-service", + "confirmation": { + "text": "Sei sicuro di voler avviare Plex?" + }, + "service": "script.plex_start" + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "script.plex_stop", + "name": "Ferma Plex", + "show_icon": true, + "show_state": false, + "icon": "mdi:plex", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "tap_action": { + "action": "call-service", + "confirmation": { + "text": "Sei sicuro di voler fermare Plex?" + }, + "service": "script.plex_stop" + } + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "BTicino Classe 300EOS with Netatmo" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/classe300eos.png" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "switch.portone", + "name": "Apertura Portone", + "show_name": true, + "show_icon": true, + "show_state": false, + "color-type": "card", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "on", + "styles": { + "icon": [ + { + "color": "grey" + } + ] + } + }, + { + "value": "off", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Canon PIXMA TR8550" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0.0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/canon_tr8550.png", + "tap_action": { + "action": "url", + "url_path": "http://stampante.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "layout": "icon_name_state", + "name": "Gestione", + "show_name": true, + "show_icon": true, + "show_state": true, + "icon": "mdi:cogs", + "tap_action": { + "action": "url", + "url_path": "http://stampante.giorgioravera.it" + }, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "layout": "icon_name_state", + "entity": "sensor.canon_tr8500_series", + "name": "Stato", + "show_name": false, + "show_icon": true, + "show_state": true, + "icon": "[[[\n if (entity.state==\"idle\")\n return \"mdi:printer\"\n else\n return \"mdi:printer-settings\"\n]]]\n", + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": "printing", + "styles": { + "icon": [ + { + "color": "yellow" + } + ] + } + } + ] + } + ] + } + ] + }, + { + "type": "custom:bar-card", + "show_header_toggle": false, + "state_color": false, + "positions": { + "indicator": "off", + "name": "outside", + "value": "outside", + "icon": "inside" + }, + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\nbar-card-value {\n \n margin: 0px;\n font-size: 15px;\n text-shadow: 1px 1px #0005;\n}\nbar-card-name {\n margin: 0px;\n font-size: 15px;\n text-shadow: 1px 1px #0005;\n}\nha-icon {\n color: darkgrey;\n}", + "entities": [ + { + "entity": "sensor.canon_tr8500_series_black_bk", + "name": "BK", + "color": "black", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_black_pgbk", + "name": "PGBK", + "color": "black", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_cyan", + "name": "C", + "color": "cyan", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_magenta", + "name": "M", + "color": "magenta", + "width": "85%" + }, + { + "entity": "sensor.canon_tr8500_series_yellow", + "name": "Y", + "color": "yellow", + "width": "85%" + } + ] + } + ] + } + ] + } + ] + }, + { + "title": "Shelly", + "path": "shelly", + "icon": "mdi:alpha-s-box", + "type": "custom:horizontal-layout", + "layout": {}, + "badges": [], + "cards": [ + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 1 - Tapparella Cucina" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly25.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly1.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "cover.tapparella_cucina", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.tapparella_cucina_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_cucina_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_cucina_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 2 - Tapparella Sala" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly25.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly2.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "layout": "icon_name_state", + "entity": "cover.tapparella_sala", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.tapparella_sala_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_sala_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_sala_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 3 - Tapparella Studio" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly25.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly3.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "cover.tapparella_studio", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.tapparella_studio_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_studio_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_studio_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 4 - Tapparella Camera" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly25.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly4.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "cover.tapparella_camera", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.tapparella_camera_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_camera_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.tapparella_camera_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 5 - Luce Corridoio" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly1.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly5.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_corridoio", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luce_corridoio_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_corridoio_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_corridoio_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 6 - Luce Cucina" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly1.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly6.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_cucina", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luce_cucina_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_cucina_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_cucina_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 7 - Luce Sala" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly_dimmer.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly7.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_sala", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luce_sala_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_sala_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_sala_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 8 - Luci Bagno" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly25.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly8.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_bagno", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_specchio", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luci_bagno_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luci_bagno_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luci_bagno_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 9 - Luce Studio" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly1.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly9.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_studio", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luce_studio_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_studio_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_studio_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 10 - Luce Camera" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly_dimmer.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly10.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_camera", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luce_camera_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_camera_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_camera_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly 11 - Luce Balcone" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly1.png", + "tap_action": { + "action": "url", + "url_path": "http://shelly11.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "light.luce_balcone", + "name": "Stato" + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.luce_balcone_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_balcone_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.luce_balcone_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "visible": false, + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Shelly EM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly_em.png", + "tap_action": { + "action": "url", + "url_path": "http://shellyem.giorgioravera.it" + } + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.shelly_em_channel_1_power", + "name": "Potenza", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.shelly_em_channel_1_voltage", + "name": "Tensione", + "icon": "mdi:alpha-v-box", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.shelly_em_channel_1_power_factor", + "name": "FP", + "icon": "mdi:angle-acute", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_firmware", + "entity": "update.shelly_em_firmware_update", + "name": "Firmare" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.shelly_em_ota_update", + "name": "Aggiorna Firmware", + "icon": "mdi:package-up" + }, + { + "type": "custom:button-card", + "template": "template_device_generic_button", + "entity": "button.shelly_em_reboot", + "name": "Riavvia Dispositivo", + "icon": "mdi:restart" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "visible": false, + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Operazioni Globali" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/shelly/shelly.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "tile", + "entity": "script.shelly_upgrade", + "name": "Aggiorna Tutto", + "tap_action": { + "action": "call-service", + "service": "script.shelly_upgrade" + } + }, + { + "type": "tile", + "entity": "script.shelly_reboot", + "name": "Riavvia tutto", + "tap_action": { + "action": "call-service", + "service": "script.shelly_reboot" + } + }, + { + "type": "tile", + "entity": "script.shelly_force_state_update", + "name": "Aggiorna Stato Dispositivi", + "tap_action": { + "action": "call-service", + "service": "script.shelly_force_state_update" + } + } + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "title": "Netatmo", + "path": "netatmo", + "icon": "mdi:alpha-n-box", + "type": "sidebar", + "badges": [], + "cards": [ + { + "title": "Valvole", + "type": "custom:layout-card", + "cards": [ + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Valvola 1 - Cucina" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/netatmo_valve.png" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "climate.cucina", + "name": "Modalità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.valvola_cucina_state", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.valvola_cucina_battery_percent", + "name": "Batteria", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + } + ] + } + ] + } + ] + } + ], + "view_layout": { + "grid-area": "first" + } + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Valvola 2 - Sala" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/netatmo_valve.png" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "climate.sala", + "name": "Modalità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.valvola_sala_state", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.valvola_sala_battery_percent", + "name": "Batteria", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + } + ] + } + ] + } + ] + } + ], + "view_layout": { + "grid-area": "second" + } + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Valvola 3 - Bagno" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/netatmo_valve.png" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "climate.bagno", + "name": "Modalità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.valvola_bagno_state", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.valvola_bagno_battery_percent", + "name": "Batteria", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + } + ] + } + ] + } + ] + } + ], + "view_layout": { + "grid-area": "third" + } + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Valvola 4 - Studio" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/netatmo_valve.png" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "climate.studio", + "name": "Modalità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.valvola_studio_state", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.valvola_studio_battery_percent", + "name": "Batteria", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + } + ] + } + ] + } + ] + } + ], + "view_layout": { + "grid-area": "fourth" + } + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Valvola 5 - Camera" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "/local/images/devices/netatmo_valve.png" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "climate.camera", + "name": "Modalità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.valvola_camera_state", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.valvola_camera_battery_percent", + "name": "Batteria", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + } + ] + } + ] + } + ] + } + ], + "view_layout": { + "grid-area": "fifth" + } + } + ], + "layout": { + "grid-template-columns": "33% 33% 33%", + "grid-template-rows": "auto", + "grid-template-areas": "\"first second third\"\n\"fourth fifth sixth\"\n\"seventh eighth nineth\"\n\"tenth eleventh twelfth\"\n", + "mediaquery": { + "(max-width: 1350px)": { + "grid-template-columns": "100%", + "grid-template-areas": "\"first\"\n\"second\"\n\"third\"\n\"fourth\"\n\"fifth\" \n\"sixth\"\n\"seventh\"\n\"eighth\"\n\"nineth\"\n\"tenth\"\n\"eleventh\"\n\"twelfth\"\n" + }, + "(max-width: 1750px)": { + "grid-template-columns": "50% 50%", + "grid-template-areas": "\"first second\"\n\"third fourth\"\n\"fifth sixth\"\n\"seventh eighth\"\n\"nineth tenth\"\n\"eleventh twelfth\"\n" + } + } + }, + "layout_type": "custom:grid-layout" + }, + { + "type": "entities", + "entities": [ + { + "entity": "input_boolean.central_heating" + }, + { + "entity": "select.netatmo_casa_ravera_testa" + } + ], + "state_color": false, + "title": "Impostazioni", + "view_layout": { + "position": "sidebar" + } + } + ] + }, + { + "title": "zigbee", + "path": "zigbee", + "icon": "mdi:zigbee", + "type": "custom:horizontal-layout", + "badges": [], + "cards": [ + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Porta Casa - Xiaomi MCCGQ01LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/MCCGQ01LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "binary_sensor.porta_casa_contact", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.porta_casa_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Temperatura Balcone - Xiaomi WSDCGQ01LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/WSDCGQ01LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.temperatura_balcone_temperature", + "name": "Temperatura", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.temperatura_balcone_humidity", + "name": "Umidità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.temperatura_balcone_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Temperatura Veranda - Xiaomi WSDCGQ01LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/WSDCGQ01LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.temperatura_veranda_temperature", + "name": "Temperatura", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "sensor.temperatura_veranda_humidity", + "name": "Umidità", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.temperatura_veranda_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "spare_door - Xiaomi MCCGQ11LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/MCCGQ11LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "binary_sensor.spare_door_contact", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.spare_door_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "wireless_button - Xiaomi WXKG01LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/WXKG01LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.wireless_button_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Sensore Acqua 1 - Xiaomi SJCGQ11LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/SJCGQ11LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "binary_sensor.sensore_acqua_1_water_leak", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.sensore_acqua_1_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Sensore Acqua 2 - Xiaomi SJCGQ11LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/SJCGQ11LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "binary_sensor.sensore_acqua_2_water_leak", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.sensore_acqua_2_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "entities", + "show_header_toggle": "off", + "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", + "entities": [ + { + "type": "section", + "label": "Sensore Acqua 3 - Xiaomi SJCGQ11LM" + }, + { + "type": "custom:hui-element", + "card_type": "vertical-stack", + "cards": [ + { + "type": "horizontal-stack", + "cards": [ + { + "type": "picture", + "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", + "image": "https://www.zigbee2mqtt.io/images/devices/SJCGQ11LM.jpg" + }, + { + "type": "vertical-stack", + "cards": [ + { + "type": "custom:button-card", + "template": "template_device_generic_state", + "entity": "binary_sensor.sensore_acqua_3_water_leak", + "name": "Stato", + "styles": { + "icon": [ + { + "color": "var(--state-icon-color)" + } + ] + } + }, + { + "type": "custom:button-card", + "template": "template_device_generic_battery_state", + "entity": "sensor.sensore_acqua_3_battery", + "name": "Batteria" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "vertical-stack", + "title": "Mappa Dispositivi", + "layout": "vertical", + "cards": [ + { + "type": "custom:zigbee2mqtt-networkmap", + "title": "Zigbee2MQTT Network Map", + "entity": "sensor.zigbee2mqtt_networkmap", + "mqtt_base_topic": "zigbee2mqtt", + "force": 3000, + "node_size": 16, + "font_size": 12, + "link_width": 2, + "height": 400, + "css": ":host {\n --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7);\n --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3;\n --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6);\n --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5);\n --zigbee2mqtt-networkmap-hover-color: #be385d;\n --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6);\n --zigbee2mqtt-networkmap-label-color: #127862;\n --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7);\n --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7);\n --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7);\n }\n" + } + ] + } + ] + } + ], + "button_card_templates": { + "template_device_generic_state": { + "layout": "icon_name_state", + "color-type": "card", + "show_name": true, + "show_icon": true, + "show_state": true, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + "template_device_generic_button": { + "layout": "icon_name_state", + "color-type": "card", + "show_name": true, + "show_icon": true, + "show_state": false, + "tap_action": { + "action": "call-service", + "service": "button.press", + "service_data": { + "entity_id": "[[[ return entity.entity_id ]]]" + } + }, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + "template_device_firmware": { + "layout": "icon_name_state", + "color-type": "card", + "show_name": true, + "show_icon": true, + "show_state": true, + "state": [ + { + "value": "off", + "styles": { + "icon": [ + { + "color": "lightgreen" + } + ] + } + }, + { + "value": "on", + "styles": { + "icon": [ + { + "color": "red" + } + ] + } + } + ], + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + }, + { + "color": "var(--state-icon-color)" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + } + }, + "template_device_generic_battery_state": { + "layout": "icon_name_state", + "color-type": "card", + "show_name": true, + "show_icon": true, + "show_state": true, + "styles": { + "grid": [ + { + "grid-template-columns": "50px auto" + } + ], + "icon": [ + { + "padding": "0px 0px" + }, + { + "height": "25px" + }, + { + "width": "25px" + } + ], + "card": [ + { + "--ha-card-background": "rgba(0, 0, 0, 0)" + }, + { + "--ha-card-box-shadow": "none" + } + ], + "name": [ + { + "padding": "0px 10px" + }, + { + "justify-self": "start" + }, + { + "font-family": "Roboto, sans-serif" + }, + { + "font-size": "15px" + }, + { + "color": "var(--primary-text-color)" + } + ] + }, + "state": [ + { + "value": 20, + "operator": "<=", + "styles": { + "icon": [ + { + "color": "var(--label-badge-red)" + } + ] + } + }, + { + "value": 50, + "operator": "<=", + "styles": { + "icon": [ + { + "color": "var(--label-badge-yellow)" + } + ] + } + }, + { + "value": 100, + "operator": "<=", + "styles": { + "icon": [ + { + "color": "var(--label-badge-green)" + } + ] + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/.storage/lovelace.lovelace_dispositivi b/.storage/lovelace.lovelace_dispositivi deleted file mode 100644 index 2b80fad5..00000000 --- a/.storage/lovelace.lovelace_dispositivi +++ /dev/null @@ -1,3356 +0,0 @@ -{ - "version": 1, - "minor_version": 1, - "key": "lovelace.lovelace_dispositivi", - "data": { - "config": { - "views": [ - { - "title": "Dispositivi di Rete", - "path": "network-devices", - "icon": "mdi:network-outline", - "type": "custom:horizontal-layout", - "layout": { - "width": 300, - "max_cols": 3 - }, - "badges": [], - "cards": [ - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Intel NUC10i5FNH" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/intel_nuc.png", - "tap_action": { - "action": "url", - "url_path": "https://pve.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "binary_sensor.pve_server", - "name": "VM Debian", - "show_name": true, - "show_icon": true, - "show_state": false, - "color-type": "card", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ] - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "binary_sensor.pve_docker", - "name": "VM Docker", - "show_name": true, - "show_icon": true, - "show_state": false, - "color-type": "card", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ] - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "binary_sensor.pve_firewall", - "name": "VM Firewall", - "show_name": true, - "show_icon": true, - "show_state": false, - "color-type": "card", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ] - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "binary_sensor.pve_asterisk", - "name": "VM Asterisk", - "show_name": true, - "show_icon": true, - "show_state": false, - "color-type": "card", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "FRITZ!Box 7590" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/fritzbox_7590.png", - "tap_action": { - "action": "url", - "url_path": "https://fritz.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "layout": "icon_name_state", - "name": "Riavvia Dispositivo", - "tap_action": { - "action": "call-service", - "service": "shell_command.fritz_reboot" - }, - "show_icon": true, - "show_state": false, - "icon": "mdi:restart", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "name": "Ricollega a WAN", - "tap_action": { - "action": "call-service", - "service": "shell_command.fritz_reconnect" - }, - "show_icon": true, - "show_state": false, - "icon": "mdi:connection", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "switch.fritz_led", - "name": "LED", - "show_icon": true, - "show_state": false, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "FRITZ!Box 7530 AX" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/fritzbox_7530_ax.png", - "tap_action": { - "action": "url", - "url_path": "https://ap1.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "layout": "icon_name_state", - "name": "Riavvia Dispositivo", - "tap_action": { - "action": "call-service", - "service": "shell_command.ap1_reboot" - }, - "show_icon": true, - "show_state": false, - "icon": "mdi:restart", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "switch.ap1_led", - "name": "LED", - "show_icon": true, - "show_state": false, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "NAS QNAP TS-228A" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/qnap_ts228a.png", - "tap_action": { - "action": "url", - "url_path": "https://nas.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "switch.nas", - "name": "Stato", - "show_name": false, - "show_icon": true, - "show_state": true, - "color-type": "card", - "icon": "mdi:power", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - } - ], - "tap_action": { - "action": "toggle", - "confirmation": { - "text": "Sei sicuro di voler procedere?" - } - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "name": "Gestione", - "show_name": true, - "show_icon": true, - "show_state": true, - "icon": "mdi:cogs", - "tap_action": { - "action": "url", - "url_path": "https://nas.giorgioravera.it" - }, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "script.plex_start", - "name": "Avvia Plex", - "show_icon": true, - "show_state": false, - "icon": "mdi:plex", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "tap_action": { - "action": "call-service", - "confirmation": { - "text": "Sei sicuro di voler avviare Plex?" - }, - "service": "script.plex_start" - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "script.plex_stop", - "name": "Ferma Plex", - "show_icon": true, - "show_state": false, - "icon": "mdi:plex", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "tap_action": { - "action": "call-service", - "confirmation": { - "text": "Sei sicuro di voler fermare Plex?" - }, - "service": "script.plex_stop" - } - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "BTicino Classe 300EOS with Netatmo" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/classe300eos.png" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "switch.portone", - "name": "Apertura Portone", - "show_name": true, - "show_icon": true, - "show_state": false, - "color-type": "card", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "on", - "styles": { - "icon": [ - { - "color": "grey" - } - ] - } - }, - { - "value": "off", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Canon PIXMA TR8550" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0.0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/canon_tr8550.png", - "tap_action": { - "action": "url", - "url_path": "http://stampante.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "layout": "icon_name_state", - "name": "Gestione", - "show_name": true, - "show_icon": true, - "show_state": true, - "icon": "mdi:cogs", - "tap_action": { - "action": "url", - "url_path": "http://stampante.giorgioravera.it" - }, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "layout": "icon_name_state", - "entity": "sensor.canon_tr8500_series", - "name": "Stato", - "show_name": false, - "show_icon": true, - "show_state": true, - "icon": "[[[\n if (entity.state==\"idle\")\n return \"mdi:printer\"\n else\n return \"mdi:printer-settings\"\n]]]\n", - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": "printing", - "styles": { - "icon": [ - { - "color": "yellow" - } - ] - } - } - ] - } - ] - } - ] - }, - { - "type": "custom:bar-card", - "show_header_toggle": false, - "state_color": false, - "positions": { - "indicator": "off", - "name": "outside", - "value": "outside", - "icon": "inside" - }, - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\nbar-card-value {\n \n margin: 0px;\n font-size: 15px;\n text-shadow: 1px 1px #0005;\n}\nbar-card-name {\n margin: 0px;\n font-size: 15px;\n text-shadow: 1px 1px #0005;\n}\nha-icon {\n color: darkgrey;\n}", - "entities": [ - { - "entity": "sensor.canon_tr8500_series_black_bk", - "name": "BK", - "color": "black", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_black_pgbk", - "name": "PGBK", - "color": "black", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_cyan", - "name": "C", - "color": "cyan", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_magenta", - "name": "M", - "color": "magenta", - "width": "85%" - }, - { - "entity": "sensor.canon_tr8500_series_yellow", - "name": "Y", - "color": "yellow", - "width": "85%" - } - ] - } - ] - } - ] - } - ] - }, - { - "title": "Shelly", - "path": "shelly", - "icon": "mdi:alpha-s-box", - "type": "custom:horizontal-layout", - "layout": {}, - "badges": [], - "cards": [ - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 1 - Tapparella Cucina" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly25.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly1.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "cover.tapparella_cucina", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.tapparella_cucina_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_cucina_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_cucina_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 2 - Tapparella Sala" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly25.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly2.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "layout": "icon_name_state", - "entity": "cover.tapparella_sala", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.tapparella_sala_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_sala_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_sala_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 3 - Tapparella Studio" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly25.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly3.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "cover.tapparella_studio", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.tapparella_studio_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_studio_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_studio_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 4 - Tapparella Camera" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly25.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly4.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "cover.tapparella_camera", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.tapparella_camera_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_camera_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.tapparella_camera_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 5 - Luce Corridoio" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly1.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly5.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_corridoio", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luce_corridoio_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_corridoio_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_corridoio_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 6 - Luce Cucina" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly1.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly6.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_cucina", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luce_cucina_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_cucina_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_cucina_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 7 - Luce Sala" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly_dimmer.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly7.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_sala", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luce_sala_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_sala_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_sala_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 8 - Luci Bagno" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly25.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly8.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_bagno", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_specchio", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luci_bagno_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luci_bagno_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luci_bagno_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 9 - Luce Studio" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly1.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly9.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_studio", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luce_studio_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_studio_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_studio_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 10 - Luce Camera" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly_dimmer.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly10.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_camera", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luce_camera_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_camera_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_camera_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly 11 - Luce Balcone" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly1.png", - "tap_action": { - "action": "url", - "url_path": "http://shelly11.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "light.luce_balcone", - "name": "Stato" - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.luce_balcone_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_balcone_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.luce_balcone_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "visible": false, - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Shelly EM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly_em.png", - "tap_action": { - "action": "url", - "url_path": "http://shellyem.giorgioravera.it" - } - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_power", - "name": "Potenza", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_voltage", - "name": "Tensione", - "icon": "mdi:alpha-v-box", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.shelly_em_channel_1_power_factor", - "name": "FP", - "icon": "mdi:angle-acute", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_firmware", - "entity": "update.shelly_em_firmware_update", - "name": "Firmare" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.shelly_em_ota_update", - "name": "Aggiorna Firmware", - "icon": "mdi:package-up" - }, - { - "type": "custom:button-card", - "template": "template_device_generic_button", - "entity": "button.shelly_em_reboot", - "name": "Riavvia Dispositivo", - "icon": "mdi:restart" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "visible": false, - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Operazioni Globali" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/shelly/shelly.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "tile", - "entity": "script.shelly_upgrade", - "name": "Aggiorna Tutto", - "tap_action": { - "action": "call-service", - "service": "script.shelly_upgrade" - } - }, - { - "type": "tile", - "entity": "script.shelly_reboot", - "name": "Riavvia tutto", - "tap_action": { - "action": "call-service", - "service": "script.shelly_reboot" - } - }, - { - "type": "tile", - "entity": "script.shelly_force_state_update", - "name": "Aggiorna Stato Dispositivi", - "tap_action": { - "action": "call-service", - "service": "script.shelly_force_state_update" - } - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "title": "Netatmo", - "path": "netatmo", - "icon": "mdi:alpha-n-box", - "type": "custom:horizontal-layout", - "badges": [], - "cards": [ - { - "type": "entities", - "entities": [ - { - "entity": "input_boolean.central_heating" - }, - { - "entity": "select.netatmo_casa_ravera_testa" - } - ], - "state_color": false, - "title": "Impostazioni" - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Valvola 1 - Cucina" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/netatmo_valve.png" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "climate.cucina", - "name": "Modalità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.valvola_cucina_state", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.valvola_cucina_battery_percent", - "name": "Batteria", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Valvola 2 - Sala" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/netatmo_valve.png" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "climate.sala", - "name": "Modalità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.valvola_sala_state", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.valvola_sala_battery_percent", - "name": "Batteria", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Valvola 3 - Bagno" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/netatmo_valve.png" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "climate.bagno", - "name": "Modalità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.valvola_bagno_state", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.valvola_bagno_battery_percent", - "name": "Batteria", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Valvola 4 - Studio" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/netatmo_valve.png" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "climate.studio", - "name": "Modalità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.valvola_studio_state", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.valvola_studio_battery_percent", - "name": "Batteria", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Valvola 5 - Camera" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "/local/images/devices/netatmo_valve.png" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "climate.camera", - "name": "Modalità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.valvola_camera_state", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.valvola_camera_battery_percent", - "name": "Batteria", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - } - ] - } - ] - } - ] - } - ] - } - ] - }, - { - "title": "test", - "path": "test", - "icon": "mdi:zigbee", - "type": "custom:horizontal-layout", - "badges": [], - "cards": [ - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Porta Casa - Xiaomi MCCGQ01LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/MCCGQ01LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "binary_sensor.porta_casa_contact", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.porta_casa_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Temperatura Balcone - Xiaomi WSDCGQ01LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/WSDCGQ01LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.temperatura_balcone_temperature", - "name": "Temperatura", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.temperatura_balcone_humidity", - "name": "Umidità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.temperatura_balcone_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Temperatura Veranda - Xiaomi WSDCGQ01LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/WSDCGQ01LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.temperatura_veranda_temperature", - "name": "Temperatura", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "sensor.temperatura_veranda_humidity", - "name": "Umidità", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.temperatura_veranda_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "spare_door - Xiaomi MCCGQ11LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/MCCGQ11LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "binary_sensor.spare_door_contact", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.spare_door_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "wireless_button - Xiaomi WXKG01LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/WXKG01LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.wireless_button_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Sensore Acqua 1 - Xiaomi SJCGQ11LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/SJCGQ11LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "binary_sensor.sensore_acqua_1_water_leak", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.sensore_acqua_1_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Sensore Acqua 2 - Xiaomi SJCGQ11LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/SJCGQ11LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "binary_sensor.sensore_acqua_2_water_leak", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.sensore_acqua_2_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "entities", - "show_header_toggle": "off", - "style": ".card-header {\n padding: 0px 0px 0px 0px !important;\n}\n", - "entities": [ - { - "type": "section", - "label": "Sensore Acqua 3 - Xiaomi SJCGQ11LM" - }, - { - "type": "custom:hui-element", - "card_type": "vertical-stack", - "cards": [ - { - "type": "horizontal-stack", - "cards": [ - { - "type": "picture", - "style": "ha-card { \n --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n --ha-card-background: \"rgba(0, 0, 0, 0)\";\n --ha-card-box-shadow: 'none';\n}\n", - "image": "https://www.zigbee2mqtt.io/images/devices/SJCGQ11LM.jpg" - }, - { - "type": "vertical-stack", - "cards": [ - { - "type": "custom:button-card", - "template": "template_device_generic_state", - "entity": "binary_sensor.sensore_acqua_3_water_leak", - "name": "Stato", - "styles": { - "icon": [ - { - "color": "var(--state-icon-color)" - } - ] - } - }, - { - "type": "custom:button-card", - "template": "template_device_generic_battery_state", - "entity": "sensor.sensore_acqua_3_battery", - "name": "Batteria" - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "vertical-stack", - "title": "Mappa Dispositivi", - "layout": "vertical", - "cards": [ - { - "type": "custom:zigbee2mqtt-networkmap", - "title": "Zigbee2MQTT Network Map", - "entity": "sensor.zigbee2mqtt_networkmap", - "mqtt_base_topic": "zigbee2mqtt", - "force": 3000, - "node_size": 16, - "font_size": 12, - "link_width": 2, - "height": 400, - "css": ":host {\n --zigbee2mqtt-networkmap-node-color: rgba(18, 120, 98, .7);\n --zigbee2mqtt-networkmap-node-fill-color: #dcfaf3;\n --zigbee2mqtt-networkmap-node-pinned-color: rgba(190, 56, 93, .6);\n --zigbee2mqtt-networkmap-link-color: rgba(18, 120, 98, .5);\n --zigbee2mqtt-networkmap-hover-color: #be385d;\n --zigbee2mqtt-networkmap-link-selected-color: rgba(202, 164, 85, .6);\n --zigbee2mqtt-networkmap-label-color: #127862;\n --zigbee2mqtt-networkmap-arrow-color: rgba(18, 120, 98, 0.7);\n --zigbee2mqtt-networkmap-node-coordinator-color: rgba(224, 78, 93, .7);\n --zigbee2mqtt-networkmap-node-router-color: rgba(0, 165, 255, .7);\n }\n" - } - ] - } - ] - } - ], - "button_card_templates": { - "template_device_generic_state": { - "layout": "icon_name_state", - "color-type": "card", - "show_name": true, - "show_icon": true, - "show_state": true, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - "template_device_generic_button": { - "layout": "icon_name_state", - "color-type": "card", - "show_name": true, - "show_icon": true, - "show_state": false, - "tap_action": { - "action": "call-service", - "service": "button.press", - "service_data": { - "entity_id": "[[[ return entity.entity_id ]]]" - } - }, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - "template_device_firmware": { - "layout": "icon_name_state", - "color-type": "card", - "show_name": true, - "show_icon": true, - "show_state": true, - "state": [ - { - "value": "off", - "styles": { - "icon": [ - { - "color": "lightgreen" - } - ] - } - }, - { - "value": "on", - "styles": { - "icon": [ - { - "color": "red" - } - ] - } - } - ], - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - }, - { - "color": "var(--state-icon-color)" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - } - }, - "template_device_generic_battery_state": { - "layout": "icon_name_state", - "color-type": "card", - "show_name": true, - "show_icon": true, - "show_state": true, - "styles": { - "grid": [ - { - "grid-template-columns": "50px auto" - } - ], - "icon": [ - { - "padding": "0px 0px" - }, - { - "height": "25px" - }, - { - "width": "25px" - } - ], - "card": [ - { - "--ha-card-background": "rgba(0, 0, 0, 0)" - }, - { - "--ha-card-box-shadow": "none" - } - ], - "name": [ - { - "padding": "0px 10px" - }, - { - "justify-self": "start" - }, - { - "font-family": "Roboto, sans-serif" - }, - { - "font-size": "15px" - }, - { - "color": "var(--primary-text-color)" - } - ] - }, - "state": [ - { - "value": 20, - "operator": "<=", - "styles": { - "icon": [ - { - "color": "var(--label-badge-red)" - } - ] - } - }, - { - "value": 50, - "operator": "<=", - "styles": { - "icon": [ - { - "color": "var(--label-badge-yellow)" - } - ] - } - }, - { - "value": 100, - "operator": "<=", - "styles": { - "icon": [ - { - "color": "var(--label-badge-green)" - } - ] - } - } - ] - } - } - } - } -} \ No newline at end of file diff --git a/.storage/lovelace_dashboards b/.storage/lovelace_dashboards index 53b870d4..113caeaf 100644 --- a/.storage/lovelace_dashboards +++ b/.storage/lovelace_dashboards @@ -1,35 +1,36 @@ { - "version": 1, - "key": "lovelace_dashboards", - "data": { - "items": [ - { - "icon": "mdi:television", - "id": "lovelace_multimedia", - "mode": "storage", - "require_admin": false, - "show_in_sidebar": true, - "title": "Multimedia", - "url_path": "lovelace-media" - }, - { - "icon": "mdi:cog", - "id": "lovelace_settings", - "mode": "storage", - "require_admin": true, - "show_in_sidebar": true, - "title": "Sistema", - "url_path": "lovelace-test" - }, - { - "require_admin": false, - "show_in_sidebar": true, - "icon": "mdi:devices", - "title": "Dispositivi", - "url_path": "lovelace-dispositivi", - "mode": "storage", - "id": "lovelace_dispositivi" - } - ] - } + "version": 1, + "minor_version": 1, + "key": "lovelace_dashboards", + "data": { + "items": [ + { + "icon": "mdi:television", + "id": "lovelace_multimedia", + "mode": "storage", + "require_admin": false, + "show_in_sidebar": true, + "title": "Multimedia", + "url_path": "lovelace-media" + }, + { + "icon": "mdi:cog", + "id": "lovelace_settings", + "mode": "storage", + "require_admin": true, + "show_in_sidebar": true, + "title": "Sistema", + "url_path": "lovelace-settings" + }, + { + "require_admin": false, + "show_in_sidebar": true, + "icon": "mdi:devices", + "title": "Dispositivi", + "url_path": "lovelace-devices", + "mode": "storage", + "id": "lovelace_devices" + } + ] + } } \ No newline at end of file