Reminded by @pinkywafer to bring back my Travis sensors and notifications. https://github.com/pinkywafer/Home-Assistant_Config/issues/17
This commit is contained in:
parent
3e5e8669b7
commit
a12b2f8d80
|
@ -25,12 +25,15 @@ automation:
|
|||
entity_id:
|
||||
- sensor.ccostanhomeassistantconfig_state
|
||||
to: 'failed'
|
||||
for:
|
||||
hours: 2
|
||||
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data_template:
|
||||
value1: 'Travis validation testing failed.'
|
||||
who: 'carlo'
|
||||
apns: 'travisci'
|
||||
apns: 'information'
|
||||
|
||||
- service: persistent_notification.create
|
||||
data:
|
Loading…
Reference in New Issue