data:
entity_id: input_boolean.speech_notifications
-######################################################################
-# Home Assistant: Update Available Notifications
-######################################################################
-
-- alias: "Home Assistant: Notifica aggiornamento"
- initial_state: 'on'
-
- trigger:
- - platform: state
- entity_id: binary_sensor.updater
- to: 'on'
-
- action:
- - service: script.notify_text
- data_template:
- title: "Home Assistant - Aggiornamento"
- message: "E' disponibile un aggiornamento per Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }}. {{now().strftime('%Y-%m-%d %I:%M %p')}}"
- enable_persistant: true
-
######################################################################
# Home Assistant: Startup Automation
# - Sync with Google Assistant
+++ /dev/null
-######################################################################
-# Shelly: Update Available Notifications
-######################################################################
-
-- alias: "Shelly: Notifica aggiornamento"
- initial_state: 'on'
-
- trigger:
- - platform: state
- entity_id: group.shelly
- to: 'on'
-
- action:
- service: script.notify_text
- data_template:
- title: "Shelly - Aggiornamento"
- message: "Sono disponibili aggiornamenti per i dispositivi Shelly"
- enable_persistant: true
-
--- /dev/null
+######################################################################\r
+# Update Notification: Home Assistant\r
+######################################################################\r
+\r
+- alias: "Update Notification: Home Assistant"\r
+ initial_state: 'on'\r
+\r
+ trigger:\r
+ - platform: state\r
+ entity_id: binary_sensor.updater\r
+ to: 'on'\r
+\r
+ action:\r
+ - service: script.notify_text\r
+ data_template:\r
+ title: "Home Assistant - Aggiornamento"\r
+ message: "E' disponibile un aggiornamento per Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }}. {{now().strftime('%Y-%m-%d %I:%M %p')}}"\r
+ enable_persistant: true\r
+\r
+######################################################################\r
+# Update Notification: Shelly\r
+######################################################################\r
+\r
+- alias: "Update Notification: Shelly"\r
+ initial_state: 'on'\r
+\r
+ trigger:\r
+ - platform: state\r
+ entity_id: group.shelly\r
+ to: 'on'\r
+\r
+ action:\r
+ service: script.notify_text\r
+ data_template:\r
+ title: "Shelly - Aggiornamento"\r
+ message: "Sono disponibili aggiornamenti per i dispositivi Shelly"\r
+ enable_persistant: true\r
+\r
+######################################################################\r
+# Update Notification: HACS\r
+######################################################################\r
+\r
+- alias: "Update Notification: HACS"\r
+ initial_state: 'on'\r
+\r
+ trigger:\r
+ - platform: numeric_state\r
+ entity_id: sensor.hacs\r
+ above: 0\r
+\r
+ action:\r
+ service: script.notify_text\r
+ data_template:\r
+ title: "HACS - Aggiornamento"\r
+ message: "Sono disponibili aggiornamenti per i dispositivi Shelly"\r
+ enable_persistant: true\r
+\r