homeassistant:
customize:
- script.shelly_upgrade:
- icon: mdi:package-up
- script.shelly_reboot:
- icon: mdi:restart
- script.shelly_force_state_update:
- icon: mdi:update
# Shelly 1 - Tapparella Cucina (shellyswitch_55980f)
sensor.tapparella_cucina_energy:
--- /dev/null
+######################################################################
+# Shelly Package - Customizations
+######################################################################
+
+homeassistant:
+ customize:
+
+ ######################################################################
+ # Shelly Package - Customizations - General Package Settings
+ ######################################################################
+
+ package.shelly:
+ customize: &customize
+ package: 'shelly'
+ version: 1.0.0
+
+ ######################################################################
+ # Shelly Package - Customizations - Entities
+ ######################################################################
+
+ group.shelly:
+ <<: *customize
+ script.shelly_upgrade:
+ <<: *customize
+ icon: mdi:package-up
+ script.shelly_reboot:
+ <<: *customize
+ icon: mdi:restart
+ automation.shelly_update_notification:
+ <<: *customize
+# automation.shelly_startup_aggiornamento_stati:
+# <<: *customize
+ shell_command.shelly_reboot:
+ icon: mdi:restart
######################################################################
# Shelly: Update Notification
######################################################################
- - id: "shelly_update_notification"
- alias: "Shelly: Update Notification"
+ - alias: "Shelly: Update Notification"
variables:
pending_update_list: >
{{ states.update
######################################################################
# Shelly: Force State Update at Startup
######################################################################
- #- id: "shelly_startup_aggiornamento_stati"
- # alias: "Shelly - Startup: Aggiornamento stati"
+ #- alias: "Shelly - Startup: Aggiornamento stati"
#
# trigger:
# - event: start
######################################################################
# Update Notification: HACS
######################################################################
- - alias: "Update: HACS Notification"
+ - id: "update_hacs_notification"
+ alias: "Update: HACS Notification"
trigger:
- platform: numeric_state
# Actions:
# - persistent_notification.dismiss
######################################################################
- - alias: "Update: Riconoscimento Aggiornamenti"
+ - id: "update_acknowledgment"
+ alias: "Update: Riconoscimento Aggiornamenti"
trigger:
platform: state
entity_id:
- #- input_boolean.update_homeassistant
- input_boolean.update_hacs
- input_boolean.update_shelly
to: 'off'
--- /dev/null
+######################################################################
+# Update Package - Customizations
+######################################################################
+
+homeassistant:
+ customize:
+
+ ######################################################################
+ # Update Package - Customizations - General Package Settings
+ ######################################################################
+
+ package.update:
+ customize: &customize
+ package: 'update'
+ version: 1.0.0
+
+ ######################################################################
+ # Update Package - Customizations - Entities
+ ######################################################################
+
+ input_boolean.update_hacs:
+ <<: *customize
+ icon: mdi:alpha-h-box
+ input_boolean.update_shelly:
+ <<: *customize
+ icon: mdi:alpha-s-box
+ group.update:
+ <<: *customize
+ icon: mdi:update
+ automation.update_hacs_notification:
+ <<: *customize
+ automation.update_update_acknowledgment:
+ <<: *customize