]> git.giorgioravera.it Git - homeassistant.git/commitdiff
minor update to lovelace
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 22 Feb 2024 08:25:44 +0000 (09:25 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 22 Feb 2024 08:25:44 +0000 (09:25 +0100)
.storage/lovelace.lovelace_devices
.storage/lovelace.lovelace_settings

index 8757ecd97a76f7d7458e5e033b812eea2f8828e1..abd2844e5f81868402a90fb4140bb5ef648a5d6c 100644 (file)
                 }
               ]
             },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "Docker Containers"
+                },
+                {
+                  "type": "custom:hui-element",
+                  "card_type": "vertical-stack",
+                  "cards": [
+                    {
+                      "type": "horizontal-stack",
+                      "cards": [
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "layout": "icon_name_state",
+                              "entity": "switch.docker_portainer",
+                              "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": "switch.docker_traefik",
+                              "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": "switch.docker_amule",
+                              "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": "switch.docker_transmission",
+                              "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": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "layout": "icon_name_state",
+                              "entity": "switch.docker_homeassistant",
+                              "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": "switch.docker_mosquitto",
+                              "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": "switch.docker_zigbee2mqtt",
+                              "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": "switch.docker_filebrowser",
+                              "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",
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "binary_sensor.electrolux_forno_apl_status",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
+                              "name": "Programma",
+                              "icon": "mdi:state-machine",
+                              "tap_action": {
+                                "action": "fire-dom-event",
+                                "browser_mod": {
+                                  "service": "browser_mod.popup",
+                                  "data": {
+                                    "title": "Programma",
+                                    "style": "--popup-background-color: var(--secondary-background-color);\n--dialog-backdrop-filter: blur(2em) brightness(0.75);\n",
+                                    "content": {
+                                      "type": "entities",
+                                      "entities": [
+                                        {
+                                          "entity": "sensor.electrolux_forno_appliancestate"
+                                        },
+                                        {
+                                          "entity": "select.electrolux_forno_program"
+                                        }
+                                      ]
+                                    }
+                                  }
+                                }
+                              }
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "name": "Temperature di cottura",
+                              "icon": "mdi:thermometer",
+                              "tap_action": {
+                                "action": "fire-dom-event",
+                                "browser_mod": {
+                                  "service": "browser_mod.popup",
+                                  "data": {
+                                    "title": "Temperature di cottura",
+                                    "style": "--popup-background-color: var(--secondary-background-color);\n--dialog-backdrop-filter: blur(2em) brightness(0.75);\n",
+                                    "content": {
+                                      "type": "entities",
+                                      "entities": [
+                                        {
+                                          "entity": "sensor.electrolux_forno_displaytemperaturec"
+                                        },
+                                        {
+                                          "entity": "number.electrolux_forno_targettemperaturec"
+                                        },
+                                        {
+                                          "style": {
+                                            "background": "#62717b",
+                                            "height": "1px",
+                                            "margin-left": "auto",
+                                            "margin-right": "auto"
+                                          },
+                                          "type": "divider"
+                                        },
+                                        {
+                                          "entity": "sensor.electrolux_forno_displayfoodprobetemperaturec"
+                                        },
+                                        {
+                                          "entity": "number.electrolux_forno_targetfoodprobetemperaturec"
+                                        }
+                                      ]
+                                    }
+                                  }
+                                }
+                              }
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "name": "Tempi di cottura",
+                              "icon": "mdi:clock-edit-outline",
+                              "tap_action": {
+                                "action": "fire-dom-event",
+                                "browser_mod": {
+                                  "service": "browser_mod.popup",
+                                  "data": {
+                                    "title": "Tempi di cottura",
+                                    "style": "--popup-background-color: var(--secondary-background-color);\n--dialog-backdrop-filter: blur(2em) brightness(0.75);\n",
+                                    "content": {
+                                      "type": "entities",
+                                      "entities": [
+                                        {
+                                          "entity": "sensor.electrolux_forno_runningtime"
+                                        },
+                                        {
+                                          "entity": "sensor.electrolux_forno_timetoend"
+                                        },
+                                        {
+                                          "style": {
+                                            "background": "#62717b",
+                                            "height": "1px",
+                                            "margin-left": "auto",
+                                            "margin-right": "auto"
+                                          },
+                                          "type": "divider"
+                                        },
+                                        {
+                                          "entity": "number.electrolux_forno_starttime"
+                                        },
+                                        {
+                                          "entity": "number.electrolux_forno_targetduration"
+                                        }
+                                      ]
+                                    }
                                   }
-                                ]
+                                }
                               }
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "binary_sensor.electrolux_forno_ov1_doorstate",
-                              "name": "Porta",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
+                              "name": "Stato forno",
+                              "icon": "mdi:stove",
+                              "tap_action": {
+                                "action": "fire-dom-event",
+                                "browser_mod": {
+                                  "service": "browser_mod.popup",
+                                  "data": {
+                                    "title": "Stato forno",
+                                    "style": "--popup-background-color: var(--secondary-background-color);\n--dialog-backdrop-filter: blur(2em) brightness(0.75);\n",
+                                    "content": {
+                                      "type": "entities",
+                                      "entities": [
+                                        {
+                                          "entity": "sensor.electrolux_forno_doorstate"
+                                        },
+                                        {
+                                          "entity": "sensor.electrolux_forno_foodprobeinsertionstate"
+                                        },
+                                        {
+                                          "entity": "sensor.electrolux_forno_connectivitystate"
+                                        },
+                                        {
+                                          "entity": "sensor.electrolux_forno_remotecontrol"
+                                        }
+                                      ]
+                                    }
                                   }
-                                ]
+                                }
                               }
                             }
                           ]
                       "cards": [
                         {
                           "type": "custom:button-card",
-                          "entity": "button.electrolux_forno_ov1_executecommand_1",
+                          "entity": "button.electrolux_forno_executecommand_off",
                           "show_name": false,
                           "icon": "mdi:power",
                           "styles": {
                         },
                         {
                           "type": "custom:button-card",
-                          "entity": "button.electrolux_forno_ov1_executecommand_0",
+                          "entity": "button.electrolux_forno_executecommand_on",
                           "show_name": false,
                           "icon": "mdi:power",
                           "styles": {
                         },
                         {
                           "type": "custom:button-card",
-                          "entity": "button.electrolux_forno_ov1_executecommand_2",
+                          "entity": "button.electrolux_forno_executecommand_start",
                           "show_name": false,
                           "styles": {
                             "icon": [
                         },
                         {
                           "type": "custom:button-card",
-                          "entity": "button.electrolux_forno_ov1_executecommand_3",
+                          "entity": "button.electrolux_forno_executecommand_resume",
                           "show_name": false,
                           "styles": {
                             "icon": [
                         },
                         {
                           "type": "custom:button-card",
-                          "entity": "button.electrolux_forno_ov1_executecommand_5",
+                          "entity": "button.electrolux_forno_executecommand_stopreset",
                           "show_name": false,
                           "styles": {
                             "icon": [
                               "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)"
-                                  }
-                                ]
-                              }
+                              "name": "Potenza"
                             }
                           ]
                         }
                               "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)"
-                                  }
-                                ]
-                              }
+                              "name": "Potenza"
                             }
                           ]
                         }
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "cover.tapparella_cucina",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "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)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "cover.tapparella_studio",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "cover.tapparella_camera",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "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)"
-                                  }
-                                ]
-                              }
+                              "name": "Potenza"
                             },
                             {
                               "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)"
-                                  }
-                                ]
-                              }
+                              "icon": "mdi:alpha-v-box"
                             },
                             {
                               "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)"
-                                  }
-                                ]
-                              }
+                              "icon": "mdi:angle-acute"
                             },
                             {
                               "type": "custom:button-card",
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "climate.cucina",
-                                  "name": "Modalità",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Modalità"
                                 },
                                 {
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "sensor.valvola_cucina_state",
-                                  "name": "Stato",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Stato"
                                 },
                                 {
                                   "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)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Batteria"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "timer.valvola_cucina",
+                                  "name": "Timer"
                                 }
                               ]
                             }
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "climate.sala",
-                                  "name": "Modalità",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Modalità"
                                 },
                                 {
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "sensor.valvola_sala_state",
-                                  "name": "Stato",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Stato"
                                 },
                                 {
                                   "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)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Batteria"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "timer.valvola_sala",
+                                  "name": "Timer"
                                 }
                               ]
                             }
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "climate.bagno",
-                                  "name": "Modalità",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Modalità"
                                 },
                                 {
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "sensor.valvola_bagno_state",
-                                  "name": "Stato",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Stato"
                                 },
                                 {
                                   "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)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Batteria"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "timer.valvola_bagno",
+                                  "name": "Timer"
                                 }
                               ]
                             }
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "climate.studio",
-                                  "name": "Modalità",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Modalità"
                                 },
                                 {
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "sensor.valvola_studio_state",
-                                  "name": "Stato",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Stato"
                                 },
                                 {
                                   "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)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Batteria"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "timer.valvola_studio",
+                                  "name": "Timer"
                                 }
                               ]
                             }
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "climate.camera",
-                                  "name": "Modalità",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Modalità"
                                 },
                                 {
                                   "type": "custom:button-card",
                                   "template": "template_device_generic_state",
                                   "entity": "sensor.valvola_camera_state",
-                                  "name": "Stato",
-                                  "styles": {
-                                    "icon": [
-                                      {
-                                        "color": "var(--state-icon-color)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Stato"
                                 },
                                 {
                                   "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)"
-                                      }
-                                    ]
-                                  }
+                                  "name": "Batteria"
+                                },
+                                {
+                                  "type": "custom:button-card",
+                                  "template": "template_device_generic_state",
+                                  "entity": "timer.valvola_camera",
+                                  "name": "Timer"
                                 }
                               ]
                             }
                 },
                 {
                   "entity": "select.netatmo_casa_ravera_testa"
+                },
+                {
+                  "entity": "input_number.netatmo_manual_temperature"
                 }
               ],
               "state_color": false,
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "binary_sensor.porta_casa_contact",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "sensor.temperatura_balcone_temperature",
-                              "name": "Temperatura",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Temperatura"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "sensor.temperatura_balcone_humidity",
-                              "name": "Umidità",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Umidità"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "sensor.temperatura_veranda_temperature",
-                              "name": "Temperatura",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Temperatura"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "sensor.temperatura_veranda_humidity",
-                              "name": "Umidità",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Umidità"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "binary_sensor.spare_door_contact",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                           "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_state",
+                              "entity": "binary_sensor.sensore_acqua_1_water_leak",
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "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)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "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)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "light.luce_veranda",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "light.luce_dispensa",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "light.0x0004740001583a4a",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
                               "entity": "switch.0x0004740001583a4a_device_mode",
-                              "icon": "mdi:lightbulb-on-50",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "icon": "mdi:lightbulb-on-50"
                             },
                             {
                               "type": "custom:button-card",
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "entity": "cover.0x000474000159053e",
-                              "name": "Stato",
-                              "styles": {
-                                "icon": [
-                                  {
-                                    "color": "var(--state-icon-color)"
-                                  }
-                                ]
-                              }
+                              "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                   ]
                 }
               ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x000474000025912a"
+                },
+                {
+                  "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/BTicino/BTI_3584C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x000474000025912a",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x000474000025912a",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "entity": "select.0x000474000025912a_power_on_behavior",
+                              "template": "template_device_generic_state",
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x00047400002599cf"
+                },
+                {
+                  "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/BTicino/BTI_3584C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x00047400002599cf",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x00047400002599cf",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "entity": "select.0x00047400002599cf_power_on_behavior",
+                              "template": "template_device_generic_state",
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x0004740000249a4e"
+                },
+                {
+                  "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/BTicino/BTI_3584C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x0004740000249a4e",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x0004740000249a4e",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "entity": "select.0x0004740000249a4e_power_on_behavior",
+                              "template": "template_device_generic_state",
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
+            },
+            {
+              "type": "entities",
+              "show_header_toggle": "off",
+              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
+              "entities": [
+                {
+                  "type": "section",
+                  "label": "3584 - Luce 0x000474000015be6b"
+                },
+                {
+                  "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/BTicino/BTI_3584C.png",
+                          "tap_action": {
+                            "action": "none"
+                          }
+                        },
+                        {
+                          "type": "vertical-stack",
+                          "cards": [
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "light.0x000474000015be6b",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_firmware",
+                              "entity": "update.0x000474000015be6b",
+                              "name": "Firmare"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "entity": "select.0x000474000015be6b_power_on_behavior",
+                              "template": "template_device_generic_state",
+                              "name": "Power-On"
+                            }
+                          ]
+                        }
+                      ]
+                    }
+                  ]
+                }
+              ]
             }
           ]
         }
               },
               {
                 "width": "25px"
+              },
+              {
+                "color": "var(--state-icon-color)"
               }
             ],
             "card": [
index 9b65ea404d45a8af837e8461c07e781b0b064175..f87b33292df62b473908d3bafbb3095bff5b1411 100644 (file)
                   "entity": "sensor.temperatura_veranda_battery",
                   "name": "Temperatura Veranda"
                 },
-                {
-                  "entity": "sensor.spare_door_battery",
-                  "name": "spare_door"
-                },
                 {
                   "entity": "sensor.wireless_button_battery",
                   "name": "wireless_button"
                 {
                   "entity": "sensor.sensore_acqua_1_battery",
                   "name": "Sensore Acqua 1"
-                },
-                {
-                  "entity": "sensor.sensore_acqua_2_battery",
-                  "name": "Sensore Acqua 2"
-                },
-                {
-                  "entity": "sensor.sensore_acqua_3_battery",
-                  "name": "Sensore Acqua 3"
                 }
               ]
             },
               ]
             }
           ]
+        },
+        {
+          "title": "History",
+          "path": "s",
+          "icon": "mdi:history",
+          "type": "panel",
+          "badges": [],
+          "cards": [
+            {
+              "type": "custom:history-explorer-card",
+              "recordedEntitiesOnly": true
+            }
+          ]
         }
       ],
       "button_card_templates": {