]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Updated lovelace
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 12 Dec 2024 20:20:14 +0000 (21:20 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Thu, 12 Dec 2024 20:20:14 +0000 (21:20 +0100)
.storage/lovelace
.storage/lovelace.lovelace_devices

index db3328f80e86e36ca58b98a57d9afab6f9771f21..31457d9b0ac920d4d260ad850fe8fa447b8dcf88 100644 (file)
                     {
                       "entity": "cover.tapparella_sala_old"
                     },
-                    {
-                      "entity": "climate.sala"
-                    },
                     {
                       "entity": "media_player.sony_kd_55xf8596"
                     }
                     },
                     {
                       "entity": "light.luce_specchio_old"
-                    },
-                    {
-                      "entity": "climate.bagno_piccolo"
                     }
                   ],
                   "entity": "group.lights_bathroom_old",
                   },
                   "title": "Bagno"
                 },
-                {
-                  "camera_view": "auto",
-                  "type": "picture-glance",
-                  "aspect_ratio": "0%",
-                  "entities": [
-                    {
-                      "entity": "cover.tapparella_studio_old"
-                    },
-                    {
-                      "entity": "climate.studio"
-                    }
-                  ],
-                  "image": "/local/images/rooms/studio_off.jpg",
-                  "title": "Studio"
-                },
-                {
-                  "type": "picture-glance",
-                  "aspect_ratio": "0%",
-                  "entities": [
-                    {
-                      "entity": "light.luce_camera_old"
-                    },
-                    {
-                      "entity": "cover.tapparella_camera_old"
-                    },
-                    {
-                      "entity": "climate.camera"
-                    },
-                    {
-                      "entity": "media_player.tv_camera"
-                    }
-                  ],
-                  "entity": "light.luce_camera_old",
-                  "state_image": {
-                    "off": "/local/images/rooms/camera_off.jpg",
-                    "on": "/local/images/rooms/camera_on.jpg"
-                  },
-                  "title": "Camera"
-                },
-                {
-                  "type": "picture-glance",
-                  "aspect_ratio": "0%",
-                  "entities": [
-                    {
-                      "entity": "light.luce_balcone_old"
-                    }
-                  ],
-                  "entity": "light.luce_balcone_old",
-                  "state_image": {
-                    "off": "/local/images/rooms/balcone_off.jpg",
-                    "on": "/local/images/rooms/balcone_on.jpg"
-                  },
-                  "title": "Balcone"
-                },
                 {
                   "type": "custom:clock-weather-card",
                   "entity": "weather.savona"
                 "action": "toggle"
               }
             },
-            {
-              "type": "entity",
-              "show_name": true,
-              "show_state": true,
-              "show_icon": true,
-              "entity": "light.luce_camera_old",
-              "color": "",
-              "tap_action": {
-                "action": "toggle"
-              }
-            },
             {
               "type": "entity",
               "show_name": true,
                 "action": "toggle"
               }
             },
-            {
-              "type": "entity",
-              "show_name": true,
-              "show_state": true,
-              "show_icon": true,
-              "entity": "light.luce_balcone_old",
-              "color": "",
-              "tap_action": {
-                "action": "toggle"
-              }
-            },
             {
               "type": "entity",
               "show_name": true,
                     "light.luce_bagno_old",
                     "light.luce_specchio_old"
                   ]
-                },
-                {
-                  "entity": "light.luce_camera_old"
-                },
-                {
-                  "entity": "light.luce_balcone_old"
                 }
               ],
               "show_header_toggle": false,
               "name": "Luce Specchio",
               "type": "tile"
             },
-            {
-              "features": [
-                {
-                  "type": "light-brightness"
-                }
-              ],
-              "entity": "light.luce_camera_old",
-              "name": "Luce Camera",
-              "type": "tile"
-            },
             {
               "entity": "light.luce_dispensa",
               "name": "Luce Dispensa",
               "type": "tile"
             },
-            {
-              "entity": "light.luce_balcone_old",
-              "name": "Luce Balcone",
-              "type": "tile"
-            },
             {
               "entity": "light.luce_veranda",
               "name": "Luce Veranda",
               "color": "",
               "state_content": "current_position",
               "name": "Sala"
-            },
-            {
-              "type": "entity",
-              "show_name": true,
-              "show_state": true,
-              "show_icon": true,
-              "entity": "cover.tapparella_studio_old",
-              "color": "",
-              "state_content": "current_position",
-              "name": "Studio"
-            },
-            {
-              "type": "entity",
-              "show_name": true,
-              "show_state": true,
-              "show_icon": true,
-              "entity": "cover.tapparella_camera_old",
-              "color": "",
-              "state_content": "current_position",
-              "name": "Camera"
             }
           ],
           "cards": [
                 }
               ],
               "type": "custom:shutter-card"
-            },
-            {
-              "entities": [
-                {
-                  "buttons_position": "left",
-                  "entity": "cover.tapparella_studio_old",
-                  "name": "Tapparella Studio",
-                  "always_percentage": true
-                }
-              ],
-              "type": "custom:shutter-card"
-            },
-            {
-              "entities": [
-                {
-                  "buttons_position": "left",
-                  "entity": "cover.tapparella_camera_old",
-                  "name": "Tapparella Camera",
-                  "always_percentage": true
-                }
-              ],
-              "type": "custom:shutter-card"
             }
           ]
         },
                     },
                     {
                       "entity": "sensor.valvola_bagno_piccolo_batteria",
-                      "name": "Bagno",
+                      "name": "Bagno Piccolo",
                       "width": "85%"
                     },
                     {
                       "entity": "sensor.valvola_bagno_grande_batteria",
-                      "name": "Bagno",
+                      "name": "Bagno Grande",
                       "width": "85%"
                     },
                     {
index 9ae4d8d817355c57b1a571a0d12719b3fa779f68..367cf1d7522251a98f5c95734411948f3b382014 100644 (file)
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "sensor.shelly_em_channel_1_power",
-                              "name": "Potenza"
+                              "entity": "sensor.lavatrice_current_status",
+                              "name": "Stato"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "number.lavatrice_delay_ends_in",
+                              "name": "Avvio in"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "event.lavatrice_notification",
+                              "name": "Notifica"
+                            },
+                            {
+                              "type": "custom:button-card",
+                              "template": "template_device_generic_state",
+                              "entity": "event.lavatrice_error",
+                              "name": "Errore"
                             }
                           ]
                         }
                           "type": "custom:button-card",
                           "show_name": false,
                           "icon": "mdi:power",
+                          "entity": "select.lavatrice_operation",
+                          "tap_action": {
+                            "action": "call-service",
+                            "service": "select.select_option",
+                            "target": {
+                              "entity_id": "select.lavatrice_operation"
+                            },
+                            "data": {
+                              "option": "power_off"
+                            }
+                          },
                           "styles": {
                             "icon": [
                               {
                         {
                           "type": "custom:button-card",
                           "show_name": false,
-                          "icon": "mdi:power",
+                          "icon": "mdi:play",
+                          "entity": "select.lavatrice_operation",
+                          "tap_action": {
+                            "action": "call-service",
+                            "service": "select.select_option",
+                            "target": {
+                              "entity_id": "select.lavatrice_operation"
+                            },
+                            "data": {
+                              "option": "start"
+                            }
+                          },
                           "styles": {
                             "icon": [
                               {
-                                "color": "green"
+                                "color": "var(--state-icon-color)"
                               }
                             ]
                           }
                         {
                           "type": "custom:button-card",
                           "show_name": false,
+                          "icon": "mdi:play-pause",
+                          "entity": "select.lavatrice_operation",
+                          "tap_action": {
+                            "action": "call-service",
+                            "service": "select.select_option",
+                            "target": {
+                              "entity_id": "select.lavatrice_operation"
+                            },
+                            "data": {
+                              "option": "wake-up"
+                            }
+                          },
                           "styles": {
-                            "card": [
+                            "icon": [
                               {
-                                "padding": "0%"
+                                "color": "var(--state-icon-color)"
                               }
                             ]
                           }
                         {
                           "type": "custom:button-card",
                           "show_name": false,
+                          "icon": "mdi:stop",
+                          "entity": "select.lavatrice_operation",
+                          "tap_action": {
+                            "action": "call-service",
+                            "service": "select.select_option",
+                            "target": {
+                              "entity_id": "select.lavatrice_operation"
+                            },
+                            "data": {
+                              "option": "stop"
+                            }
+                          },
                           "styles": {
-                            "card": [
+                            "icon": [
                               {
-                                "padding": "0%"
+                                "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": "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_old",
-                              "name": "Stato"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_firmware",
-                              "entity": "update.tapparella_studio_old_firmware",
-                              "name": "Firmare"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.tapparella_studio_old_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_old",
-                              "name": "Stato"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_firmware",
-                              "entity": "update.tapparella_camera_old_firmware",
-                              "name": "Firmare"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.tapparella_camera_old_reboot",
-                              "name": "Riavvia Dispositivo",
-                              "icon": "mdi:restart"
-                            }
-                          ]
-                        }
-                      ]
-                    }
-                  ]
-                }
-              ]
-            },
             {
               "type": "entities",
               "show_header_toggle": "off",
                 }
               ]
             },
-            {
-              "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_old",
-                              "name": "Stato"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_firmware",
-                              "entity": "update.luce_camera_old_firmware",
-                              "name": "Firmare"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_camera_old_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_old",
-                              "name": "Stato"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_firmware",
-                              "entity": "update.luce_balcone_old_firmware",
-                              "name": "Firmare"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_balcone_old_reboot",
-                              "name": "Riavvia Dispositivo",
-                              "icon": "mdi:restart"
-                            }
-                          ]
-                        }
-                      ]
-                    }
-                  ]
-                }
-              ]
-            },
             {
               "type": "entities",
               "show_header_toggle": "off",