From 1f8e32daad36ab53d40b45a4497ece994134fb0e Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Sun, 12 Jan 2020 18:38:10 +0100 Subject: [PATCH] Fixed notifications --- automation/update_notifications.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/automation/update_notifications.yaml b/automation/update_notifications.yaml index d15a7c9a..875d25c4 100644 --- a/automation/update_notifications.yaml +++ b/automation/update_notifications.yaml @@ -11,11 +11,11 @@ to: 'on' action: - - service: script.notify_text - data_template: + 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 + 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 ###################################################################### # Update Notification: Shelly @@ -54,4 +54,3 @@ title: "HACS - Aggiornamento" message: "Sono disponibili aggiornamenti per i dispositivi Shelly" enable_persistant: true - -- 2.47.3