]> git.giorgioravera.it Git - homeassistant.git/commitdiff
Fixed notifications
authorGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 12 Jan 2020 17:38:10 +0000 (18:38 +0100)
committerGiorgio Ravera <giorgio.ravera@gmail.com>
Sun, 12 Jan 2020 17:38:10 +0000 (18:38 +0100)
automation/update_notifications.yaml

index d15a7c9aa3d9772dd63ad80872427850b6253658..875d25c4cfa97b4f5683e34657f3e7af3c39e25c 100644 (file)
       to: 'on'\r
 \r
   action:\r
-    service: script.notify_text\r
-      data_template:\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
+      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
@@ -54,4 +54,3 @@
       title: "HACS - Aggiornamento"\r
       message: "Sono disponibili aggiornamenti per i dispositivi Shelly"\r
       enable_persistant: true\r
-\r