From 9a189322e3d9170edcf56efb9f988b196a8deb6f Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Tue, 14 Sep 2021 21:58:21 +0200 Subject: [PATCH] Using single call to update all shelly devices --- packages/shelly/shelly_operations.yaml | 82 +------------------------- 1 file changed, 3 insertions(+), 79 deletions(-) diff --git a/packages/shelly/shelly_operations.yaml b/packages/shelly/shelly_operations.yaml index 9dc484ce..0652cda5 100644 --- a/packages/shelly/shelly_operations.yaml +++ b/packages/shelly/shelly_operations.yaml @@ -12,86 +12,10 @@ script: # Shelly 2 Tapparella Cucina - service: mqtt.publish data: - topic: 'shellies/shellyswitch-55980F/command' - payload: 'update_fw' - - # Shelly 2 Tapparella Sala - - service: mqtt.publish - data: - topic: 'shellies/shellyswitch25-6919BD/command' - payload: 'update_fw' - - # Shelly 2 Tapparella Studio - - service: mqtt.publish - data: - topic: 'shellies/shellyswitch-13572B/command' - payload: 'update_fw' - - # Shelly 2 Tapparella Camera - - service: mqtt.publish - data: - topic: 'shellies/shellyswitch-559C49/command' - payload: 'update_fw' - - # Shelly 1 Luce Corridoio - - service: mqtt.publish - data: - topic: 'shellies/shelly1-24D1EE/command' - payload: 'update_fw' - - # Shelly 1 Luce Cucina - - service: mqtt.publish - data: - topic: 'shellies/shelly1-93B27D/command' - payload: 'update_fw' - - # Shelly Dimmer Luce Sala - - service: mqtt.publish - data: - topic: 'shellies/shellydimmer-D3EA58/command' - payload: 'update_fw' - - # Shelly 2.5 Luci Bagno - - service: mqtt.publish - data: - topic: 'shellies/shellyswitch25-7457D8/command' - payload: 'update_fw' - - # Shelly 1 Luce Studio - - service: mqtt.publish - data: - topic: 'shellies/shelly1-59E18C/command' - payload: 'update_fw' - - # Shelly Dimmer Luce Camera - - service: mqtt.publish - data: - topic: 'shellies/shellydimmer-D46CF2/command' - payload: 'update_fw' - - # Shelly 1 Luce Balcone - - service: mqtt.publish - data: - topic: 'shellies/shelly1-C423C8/command' - payload: 'update_fw' - - # Shelly Bulb Luce Divano - - service: mqtt.publish - data: - topic: 'shellies/shellybulb-BC8610/command' - payload: 'update_fw' - - # Shelly EM - - service: mqtt.publish - data: - topic: 'shellies/shellyem-B9E1A0/command' - payload: 'update_fw' - - # Shelly Plug S - - service: mqtt.publish - data: - topic: 'shellies/shellyplug-s-7A31CB/command' + topic: 'shellies/command' payload: 'update_fw' + qos: 0 + retain: false ###################################################################### # Shelly: Reboot -- 2.47.3