]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Minor changes lovelace
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 30 Dec 2024 06:24:00 +0000 (07:24 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Mon, 30 Dec 2024 06:24:00 +0000 (07:24 +0100)
.storage/lovelace.lovelace_devices

index c7b7ab11dc827e59651b64a9099eac6a646f2d4f..fe88b9dfe7d6e925869900b8dde05c72a8aef567 100644 (file)
               "entities": [
                 {
                   "type": "section",
-                  "label": "Lavastoviglie Electrolux EES68510L"
+                  "label": "Lavatrice LG F2WV9S8P2E"
                 },
                 {
                   "type": "custom:hui-element",
                         {
                           "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/kitchen_appliance/EES68510L.png",
+                          "image": "/local/images/devices/kitchen_appliance/F2WV9S8P2E.png",
                           "tap_action": {
                             "action": "url",
-                            "url_path": "https://www.electrolux.it/kitchen/dishwashing/dishwashers/dishwasher-60-cm/ees68510l/"
+                            "url_path": "https://www.lg.com/it/lavatrici/lg-f2wv9s8p2e"
                           }
                         },
                         {
                             {
                               "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": "Fine lavaggio 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)"
                               }
                             ]
                           }
               "entities": [
                 {
                   "type": "section",
-                  "label": "Lavatrice LG F2WV9S8P2E"
+                  "label": "Lavastoviglie Electrolux EES68510L"
                 },
                 {
                   "type": "custom:hui-element",
                         {
                           "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/kitchen_appliance/F2WV9S8P2E.png",
+                          "image": "/local/images/devices/kitchen_appliance/EES68510L.png",
                           "tap_action": {
                             "action": "url",
-                            "url_path": "https://www.lg.com/it/lavatrici/lg-f2wv9s8p2e"
+                            "url_path": "https://www.electrolux.it/kitchen/dishwashing/dishwashers/dishwasher-60-cm/ees68510l/"
                           }
                         },
                         {
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "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"
+                              "entity": "sensor.shelly_em_channel_1_power",
+                              "name": "Potenza"
                             }
                           ]
                         }
                           "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:play",
-                          "entity": "select.lavatrice_operation",
-                          "tap_action": {
-                            "action": "call-service",
-                            "service": "select.select_option",
-                            "target": {
-                              "entity_id": "select.lavatrice_operation"
-                            },
-                            "data": {
-                              "option": "start"
-                            }
-                          },
+                          "icon": "mdi:power",
                           "styles": {
                             "icon": [
                               {
-                                "color": "var(--state-icon-color)"
+                                "color": "green"
                               }
                             ]
                           }
                         {
                           "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": {
-                            "icon": [
+                            "card": [
                               {
-                                "color": "var(--state-icon-color)"
+                                "padding": "0%"
                               }
                             ]
                           }
                         {
                           "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": {
-                            "icon": [
+                            "card": [
                               {
-                                "color": "var(--state-icon-color)"
+                                "padding": "0%"
                               }
                             ]
                           }