Skip to content

Commit

Permalink
Update hub_automations.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosweet authored Jan 18, 2020
1 parent a4892dc commit 643d7ef
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions examples/hub_automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ automation:
call_spegni: 1
alexa_type: "tts"
volume: 0.3
#notify: 0
# notify: 0

#----------------------------------------------------------------------------------------------------#
# Accesso Fallito
Expand All @@ -70,15 +70,16 @@ automation:
data_template:
title: "Hassio Accesso Fallito. "
message_tts: "Attenzione. Accesso Fallito"
#message: "{{ states.persistent_notification.http_login.attributes.message }}"
# message: "{{ states.persistent_notification.http_login.attributes.message }}"
message: "Tentativo di accesso o richiesta con autenticazione non valida."
link: >-
[Accesso Fallito](http://www.ip-tracker.org/locator/ip-lookup.php?ip={{states.persistent_notification.http_login.attributes.message.split('from ')[1]}})
#notify: alert
http://www.ip-tracker.org/locator/ip-lookup.php?ip={{states.persistent_notification.http_login.attributes.message.split('from ')[1]}}
# notify: alert
priority: 1

- service: persistent_notification.dismiss
data:
notification_id: 'http_login'
#- service: persistent_notification.dismiss
#data:
#notification_id: 'http_login'
- service: notify.pushover
data_template:
title: "Hassio Accesso Fallito"
Expand Down

0 comments on commit 643d7ef

Please sign in to comment.