]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Fixed shelly integration
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 26 Nov 2024 13:49:41 +0000 (14:49 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Tue, 26 Nov 2024 13:49:41 +0000 (14:49 +0100)
.storage/lovelace.lovelace_devices
packages/shelly/shelly_customizations.yaml
packages/shelly/shelly_groups.yaml
packages/shelly/shelly_log.yaml
shell_scripts/shelly_reboot.sh
shell_scripts/shelly_upgrade.sh
shell_scripts/shelly_uptime.sh

index 07820da0732c167b9a5771dd76be556bfdf22514..9ae4d8d817355c57b1a571a0d12719b3fa779f68 100644 (file)
                               "entity": "update.shelly_em_firmware_update",
                               "name": "Firmare"
                             },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.shelly_em_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "cover.tapparella_cucina",
+                              "entity": "cover.tapparella_cucina_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.tapparella_cucina_firmware_update",
+                              "entity": "update.tapparella_cucina_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.tapparella_cucina_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.tapparella_cucina_reboot",
+                              "entity": "button.tapparella_cucina_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
                               "layout": "icon_name_state",
-                              "entity": "cover.tapparella_sala",
+                              "entity": "cover.tapparella_sala_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.tapparella_sala_firmware_update",
+                              "entity": "update.tapparella_sala_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.tapparella_sala_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.tapparella_sala_reboot",
+                              "entity": "button.tapparella_sala_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "cover.tapparella_studio",
+                              "entity": "cover.tapparella_studio_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.tapparella_studio_firmware_update",
+                              "entity": "update.tapparella_studio_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.tapparella_studio_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.tapparella_studio_reboot",
+                              "entity": "button.tapparella_studio_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "cover.tapparella_camera",
+                              "entity": "cover.tapparella_camera_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.tapparella_camera_firmware_update",
+                              "entity": "update.tapparella_camera_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.tapparella_camera_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.tapparella_camera_reboot",
+                              "entity": "button.tapparella_camera_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                               "entity": "update.luce_corridoio_firmware_update",
                               "name": "Firmare"
                             },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_corridoio_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "light.luce_cucina",
-                              "name": "Stato"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_firmware",
-                              "entity": "update.luce_cucina_firmware_update",
-                              "name": "Firmare"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_cucina_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_cucina_reboot",
-                              "name": "Riavvia Dispositivo",
-                              "icon": "mdi:restart"
-                            }
-                          ]
-                        }
-                      ]
-                    }
-                  ]
-                }
-              ]
-            },
-            {
-              "type": "entities",
-              "show_header_toggle": "off",
-              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
-              "entities": [
-                {
-                  "type": "section",
-                  "label": "Shelly 7 - Luce Sala"
-                },
-                {
-                  "type": "custom:hui-element",
-                  "card_type": "vertical-stack",
-                  "cards": [
-                    {
-                      "type": "horizontal-stack",
-                      "cards": [
-                        {
-                          "type": "picture",
-                          "style": "ha-card { \n    --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n    --ha-card-background: \"rgba(0, 0, 0, 0)\";\n    --ha-card-box-shadow: 'none';\n}\n",
-                          "image": "/local/images/devices/shelly/shelly_dimmer.png",
-                          "tap_action": {
-                            "action": "url",
-                            "url_path": "http://shelly7.giorgioravera.it"
-                          }
-                        },
-                        {
-                          "type": "vertical-stack",
-                          "cards": [
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_state",
-                              "entity": "light.luce_sala",
+                              "entity": "light.luce_cucina_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.luce_sala_firmware_update",
+                              "entity": "update.luce_cucina_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.luce_sala_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_sala_reboot",
+                              "entity": "button.luce_cucina_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "light.luce_bagno",
+                              "entity": "light.luce_bagno_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "light.luce_specchio",
+                              "entity": "light.luce_specchio_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.luci_bagno_firmware_update",
+                              "entity": "update.luci_bagno_firmware",
                               "name": "Firmare"
                             },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luci_bagno_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
                 }
               ]
             },
-            {
-              "type": "entities",
-              "show_header_toggle": "off",
-              "style": ".card-header {\n  padding: 0px 0px 0px 0px !important;\n}\n",
-              "entities": [
-                {
-                  "type": "section",
-                  "label": "Shelly 9 - Luce Studio"
-                },
-                {
-                  "type": "custom:hui-element",
-                  "card_type": "vertical-stack",
-                  "cards": [
-                    {
-                      "type": "horizontal-stack",
-                      "cards": [
-                        {
-                          "type": "picture",
-                          "style": "ha-card { \n    --paper-card-background-color: 'rgba(0, 0, 0, 0.0)';\n    --ha-card-background: \"rgba(0, 0, 0, 0)\";\n    --ha-card-box-shadow: 'none';\n}\n",
-                          "image": "/local/images/devices/shelly/shelly1.png",
-                          "tap_action": {
-                            "action": "url",
-                            "url_path": "http://shelly9.giorgioravera.it"
-                          }
-                        },
-                        {
-                          "type": "vertical-stack",
-                          "cards": [
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_state",
-                              "entity": "light.luce_studio",
-                              "name": "Stato"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_firmware",
-                              "entity": "update.luce_studio_firmware_update",
-                              "name": "Firmare"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_studio_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_studio_reboot",
-                              "name": "Riavvia Dispositivo",
-                              "icon": "mdi:restart"
-                            }
-                          ]
-                        }
-                      ]
-                    }
-                  ]
-                }
-              ]
-            },
             {
               "type": "entities",
               "show_header_toggle": "off",
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "light.luce_camera",
+                              "entity": "light.luce_camera_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.luce_camera_firmware_update",
+                              "entity": "update.luce_camera_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.luce_camera_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_camera_reboot",
+                              "entity": "button.luce_camera_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_state",
-                              "entity": "light.luce_balcone",
+                              "entity": "light.luce_balcone_old",
                               "name": "Stato"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_firmware",
-                              "entity": "update.luce_balcone_firmware_update",
+                              "entity": "update.luce_balcone_old_firmware",
                               "name": "Firmare"
                             },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
-                              "entity": "button.luce_balcone_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.luce_balcone_reboot",
+                              "entity": "button.luce_balcone_old_reboot",
                               "name": "Riavvia Dispositivo",
                               "icon": "mdi:restart"
                             }
                               "entity": "update.shelly_em_old_firmware_update",
                               "name": "Firmare"
                             },
-                            {
-                              "type": "custom:button-card",
-                              "template": "template_device_generic_button",
-                              "entity": "button.shelly_em_old_ota_update",
-                              "name": "Aggiorna Firmware",
-                              "icon": "mdi:package-up"
-                            },
                             {
                               "type": "custom:button-card",
                               "template": "template_device_generic_button",
index fe45769e907b8dd80d19a4e29ae0d90f7588fc4d..b6a5834c54691dbbfcdbb608c5ae4f6c3c951ba2 100644 (file)
@@ -56,7 +56,7 @@ homeassistant:
       friendly_name: Pulsante 2
     binary_sensor.tapparella_cucina_old_cloud:
       friendly_name: Connessione Cloud
-    update.tapparella_cucina_old_firmware_update:
+    update.tapparella_cucina_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.tapparella_cucina_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -82,7 +82,7 @@ homeassistant:
       friendly_name: Temperatura Device
     binary_sensor.tapparella_sala_old_overheating:
       friendly_name: Surriscaldamento Device
-    update.tapparella_sala_old_firmware_update:
+    update.tapparella_sala_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.tapparella_sala_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -104,7 +104,7 @@ homeassistant:
       friendly_name: Pulsante 2
     binary_sensor.tapparella_studio_old_cloud:
       friendly_name: Connessione Cloud
-    update.tapparella_studio_old_firmware_update:
+    update.tapparella_studio_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.tapparella_studio_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -126,7 +126,7 @@ homeassistant:
       friendly_name: Pulsante 2
     binary_sensor.tapparella_camera_old_cloud:
       friendly_name: Connessione Cloud
-    update.tapparella_camera_old_firmware_update:
+    update.tapparella_camera_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.tapparella_camera_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -154,7 +154,7 @@ homeassistant:
     # Shelly 6 - Luce Cucina (shelly1_93B27D)
     binary_sensor.luce_cucina_old_cloud:
       friendly_name: Connessione Cloud
-    update.luce_cucina_old_firmware_update:
+    update.luce_cucina_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.luce_cucina_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -184,7 +184,7 @@ homeassistant:
       friendly_name: Temperatura Device
     binary_sensor.luci_bagno_overheating:
       friendly_name: Surriscaldamento Device
-    update.luci_bagno_firmware_update:
+    update.luci_bagno_firmware:
       friendly_name: Aggiornamento Firmware
     update.luci_bagno_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -212,7 +212,7 @@ homeassistant:
       friendly_name: Temperatura Device
     binary_sensor.luce_camera_old_overheating:
       friendly_name: Surriscaldamento Device
-    update.luce_camera_old_firmware_update:
+    update.luce_camera_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.luce_camera_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
@@ -226,7 +226,7 @@ homeassistant:
     # Shelly 11 - Luce Balcone (shelly1_c423c8)
     binary_sensor.luce_balcone_old_cloud:
       friendly_name: Connessione Cloud
-    update.luce_balcone_old_firmware_update:
+    update.luce_balcone_old_firmware:
       friendly_name: Aggiornamento Firmware
     update.luce_balcone_old_beta_firmware_update:
       friendly_name: Aggiornamento Firmware Beta
index 1bc4d6ee3edee29418154c2853dc8d92f1585474..edda46799ae7852a5fd56469445909bb9dc350d0 100644 (file)
@@ -8,14 +8,14 @@ group:
     icon: mdi:alpha-s-box
     entities:
       - update.shelly_em_firmware_update
-      - update.tapparella_cucina_old_firmware_update
-      - update.tapparella_sala_old_firmware_update
-      - update.tapparella_studio_old_firmware_update
-      - update.tapparella_camera_old_firmware_update
+      - update.tapparella_cucina_old_firmware
+      - update.tapparella_sala_old_firmware
+      - update.tapparella_studio_old_firmware
+      - update.tapparella_camera_old_firmware
       - update.luce_corridoio_firmware_update
-      - update.luce_cucina_old_firmware_update
-      - update.luci_bagno_firmware_update
-      - update.luce_camera_old_firmware_update
-      - update.luce_balcone_old_firmware_update
+      - update.luce_cucina_old_firmware
+      - update.luci_bagno_firmware
+      - update.luce_camera_old_firmware
+      - update.luce_balcone_old_firmware
       #- update.luce_divano_firmware_update
       - update.shelly_em_old_firmware_update
index 07cfd21b6ef6d839cd268547ba077ff8581bde0c..eb36c08a02385026b0fd39d271415865a22d04ca 100644 (file)
@@ -29,7 +29,7 @@ logbook:
       - binary_sensor.tapparella_cucina_old_channel_1_input
       - binary_sensor.tapparella_cucina_old_channel_2_input
       - binary_sensor.tapparella_cucina_old_cloud
-      - update.tapparella_cucina_old_firmware_update
+      - update.tapparella_cucina_old_firmware
       - sensor.tapparella_cucina_old_rssi
       - sensor.tapparella_cucina_old_uptime
       # Shelly 2 - Tapparella Sala (shellyswitch25_6919bd)
@@ -40,7 +40,7 @@ logbook:
       - binary_sensor.tapparella_sala_old_cloud
       - sensor.tapparella_sala_old_device_temperature
       - binary_sensor.tapparella_sala_old_overheating
-      - update.tapparella_sala_old_firmware_update
+      - update.tapparella_sala_old_firmware
       - sensor.tapparella_sala_old_rssi
       - sensor.tapparella_sala_old_uptime
       # Shelly 3 - Tapparella Studio (shellyswitch_13572b)
@@ -49,7 +49,7 @@ logbook:
       - binary_sensor.tapparella_studio_old_channel_1_input
       - binary_sensor.tapparella_studio_old_channel_2_input
       - binary_sensor.tapparella_studio_old_cloud
-      - update.tapparella_studio_old_firmware_update
+      - update.tapparella_studio_old_firmware
       - sensor.tapparella_studio_old_rssi
       - sensor.tapparella_studio_old_uptime
       # Shelly 4 - Tapparella Camera (shellyswitch_559c49)
@@ -58,7 +58,7 @@ logbook:
       - binary_sensor.tapparella_camera_old_channel_1_input
       - binary_sensor.tapparella_camera_old_channel_2_input
       - binary_sensor.tapparella_camera_old_cloud
-      - update.tapparella_camera_old_firmware_update
+      - update.tapparella_camera_old_firmware
       - sensor.tapparella_camera_old_rssi
       - sensor.tapparella_camera_old_uptime
       # Shelly 5 - Luce Corridoio (shelly1_24d1ee)
@@ -68,7 +68,7 @@ logbook:
       - sensor.luce_corridoio_uptime
       # Shelly 6 - Luce Cucina (shelly1_93B27D)
       - binary_sensor.luce_cucina_old_cloud
-      - update.luce_cucina_old_firmware_update
+      - update.luce_cucina_old_firmware
       - sensor.luce_cucina_old_rssi
       - sensor.luce_cucina_old_uptime
       # Shelly 8 - Luci Bagno (shellyswitch25_7457d8)
@@ -81,7 +81,7 @@ logbook:
       - binary_sensor.luci_bagno_cloud
       - sensor.luci_bagno_device_temperature
       - binary_sensor.luci_bagno_overheating
-      - update.luci_bagno_firmware_update
+      - update.luci_bagno_firmware
       - sensor.luci_bagno_rssi
       - sensor.luci_bagno_uptime
       # Shelly 10 - Luce Camera (shellydimmer_d46cf2)
@@ -93,12 +93,12 @@ logbook:
       - binary_sensor.luce_camera_old_cloud
       - sensor.luce_camera_old_device_temperature
       - binary_sensor.luce_camera_old_overheating
-      - update.luce_camera_old_firmware_update
+      - update.luce_camera_old_firmware
       - sensor.luce_camera_old_rssi
       - sensor.luce_camera_old_uptime
       # Shelly 11 - Luce Balcone (shelly1_c423c8)
       - binary_sensor.luce_balcone_old_cloud
-      - update.luce_balcone_old_firmware_update
+      - update.luce_balcone_old_firmware
       - sensor.luce_balcone_old_rssi
       - sensor.luce_balcone_old_uptime
       # Shelly Bulb (shellybulb_bc8610)
@@ -156,7 +156,7 @@ recorder:
       - binary_sensor.tapparella_cucina_old_channel_1_input
       - binary_sensor.tapparella_cucina_old_channel_2_input
       - binary_sensor.tapparella_cucina_old_cloud
-      - update.tapparella_cucina_old_firmware_update
+      - update.tapparella_cucina_old_firmware
       - sensor.tapparella_cucina_old_rssi
       - sensor.tapparella_cucina_old_uptime
       # Shelly 2 - Tapparella Sala (shellyswitch25_6919bd)
@@ -167,7 +167,7 @@ recorder:
       - binary_sensor.tapparella_sala_old_cloud
       - sensor.tapparella_sala_old_device_temperature
       - binary_sensor.tapparella_sala_old_overheating
-      - update.tapparella_sala_old_firmware_update
+      - update.tapparella_sala_old_firmware
       - sensor.tapparella_sala_old_rssi
       - sensor.tapparella_sala_old_uptime
       # Shelly 3 - Tapparella Studio (shellyswitch_13572b)
@@ -176,7 +176,7 @@ recorder:
       - binary_sensor.tapparella_studio_old_channel_1_input
       - binary_sensor.tapparella_studio_old_channel_2_input
       - binary_sensor.tapparella_studio_old_cloud
-      - update.tapparella_studio_old_firmware_update
+      - update.tapparella_studio_old_firmware
       - sensor.tapparella_studio_old_rssi
       - sensor.tapparella_studio_old_uptime
       # Shelly 4 - Tapparella Camera (shellyswitch_559c49)
@@ -185,7 +185,7 @@ recorder:
       - binary_sensor.tapparella_camera_old_channel_1_input
       - binary_sensor.tapparella_camera_old_channel_2_input
       - binary_sensor.tapparella_camera_old_cloud
-      - update.tapparella_camera_old_firmware_update
+      - update.tapparella_camera_old_firmware
       - sensor.tapparella_camera_old_rssi
       - sensor.tapparella_camera_old_uptime
       # Shelly 5 - Luce Corridoio (shelly1_24d1ee)
@@ -195,7 +195,7 @@ recorder:
       - sensor.luce_corridoio_uptime
       # Shelly 6 - Luce Cucina (shelly1_93B27D)
       - binary_sensor.luce_cucina_old_cloud
-      - update.luce_cucina_old_firmware_update
+      - update.luce_cucina_old_firmware
       - sensor.luce_cucina_old_rssi
       - sensor.luce_cucina_old_uptime
       # Shelly 8 - Luci Bagno (shellyswitch25_7457d8)
@@ -208,7 +208,7 @@ recorder:
       - binary_sensor.luci_bagno_cloud
       - sensor.luci_bagno_device_temperature
       - binary_sensor.luci_bagno_overheating
-      - update.luci_bagno_firmware_update
+      - update.luci_bagno_firmware
       - sensor.luci_bagno_rssi
       - sensor.luci_bagno_uptime
       # Shelly 10 - Luce Camera (shellydimmer_d46cf2)
@@ -220,12 +220,12 @@ recorder:
       - binary_sensor.luce_camera_old_cloud
       - sensor.luce_camera_old_device_temperature
       - binary_sensor.luce_camera_old_overheating
-      - update.luce_camera_old_firmware_update
+      - update.luce_camera_old_firmware
       - sensor.luce_camera_old_rssi
       - sensor.luce_camera_old_uptime
       # Shelly 11 - Luce Balcone (shelly1_c423c8)
       - binary_sensor.luce_balcone_old_cloud
-      - update.luce_balcone_old_firmware_update
+      - update.luce_balcone_old_firmware
       - sensor.luce_balcone_old_rssi
       - sensor.luce_balcone_old_uptime
       # Shelly Bulb (shellybulb_bc8610)
index e920683104c2341992c5916b413ae0c76db40008..93fdefc152315b8f58b591d16a9c4ec3407ac76b 100755 (executable)
@@ -8,19 +8,18 @@ fi
 USER=$(awk '/shelly_user/ { print  $2 }' $HASS_HOME/secrets.yaml)
 PASSWORD=$(awk '/shelly_password/ { print  $2 }' $HASS_HOME/secrets.yaml)
 SHELLY_ID=(
+       shellyem.giorgioravera.it
        shelly1.giorgioravera.it
        shelly2.giorgioravera.it
        shelly3.giorgioravera.it
        shelly4.giorgioravera.it
        shelly5.giorgioravera.it
        shelly6.giorgioravera.it
-       shelly7.giorgioravera.it
        shelly8.giorgioravera.it
-       shelly9.giorgioravera.it
        shelly10.giorgioravera.it
        shelly11.giorgioravera.it
        shellybulb.giorgioravera.it
-       shellyem.giorgioravera.it
+       shellyem-old.giorgioravera.it
        shellyplugs.giorgioravera.it
 )
 
index 393f2c302027c4e88841f521b1454a8317803a9c..913f2b034958ad986336b0ee518703a7a5892127 100755 (executable)
@@ -9,15 +9,14 @@ HOST=$(awk '/mqtt_host/ { print  $2 }' $HASS_HOME/secrets.yaml)
 USER=$(awk '/mqtt_user/ { print  $2 }' $HASS_HOME/secrets.yaml)
 PASSWORD=$(awk '/mqtt_password/ { print  $2 }' $HASS_HOME/secrets.yaml)
 SHELLY_ID=(
+       shellyem-B9F0D0
        shellyswitch-55980F
        shellyswitch25-6919BD
        shellyswitch-13572B
        shellyswitch-559C49
        shelly1-24D1EE
        shelly1-93B27D
-       shellydimmer-D3EA58
        shellyswitch25-C45BBE6C38D0
-       shelly1-59E18C
        shellydimmer-D46CF2
        shelly1-C423C8
        shellybulb-BC8610
index 4bd17b1bae9a122d1e95e3825d86acc9329af0b6..e1369a91a0852634dd03a809fda379dca5d723a1 100755 (executable)
@@ -8,19 +8,18 @@ fi
 USER=$(awk '/shelly_user/ { print  $2 }' $HASS_HOME/secrets.yaml)
 PASSWORD=$(awk '/shelly_password/ { print  $2 }' $HASS_HOME/secrets.yaml)
 SHELLY_ID=(
+       shellyem.giorgioravera.it
        shelly1.giorgioravera.it
        shelly2.giorgioravera.it
        shelly3.giorgioravera.it
        shelly4.giorgioravera.it
        shelly5.giorgioravera.it
        shelly6.giorgioravera.it
-       shelly7.giorgioravera.it
        shelly8.giorgioravera.it
-       shelly9.giorgioravera.it
        shelly10.giorgioravera.it
        shelly11.giorgioravera.it
        shellybulb.giorgioravera.it
-       shellyem.giorgioravera.it
+       shellyem-old.giorgioravera.it
        shellyplugs.giorgioravera.it
 )