mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-04-01 08:12:30 +00:00
Closes #330 - Travis sesonr and automation
This commit is contained in:
parent
74d0e87e63
commit
7c2976cb8e
@ -23,3 +23,28 @@ sensor:
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
#automation:
|
#automation:
|
||||||
#Tweets pushed out to twitter.
|
#Tweets pushed out to twitter.
|
||||||
|
|
||||||
|
automation:
|
||||||
|
- alias: "Travis FAILURE Notification"
|
||||||
|
hide_entity: True
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- sensor.ccostanhomeassistantconfig_state
|
||||||
|
to: 'failed'
|
||||||
|
action:
|
||||||
|
- service: script.notify_engine
|
||||||
|
data_template:
|
||||||
|
value1: 'Travis validation testing failed.'
|
||||||
|
who: 'carlo'
|
||||||
|
|
||||||
|
- service: notify.html5
|
||||||
|
data_template:
|
||||||
|
title: "Travis-CI FAILURE"
|
||||||
|
message: "Travis validation testing failed."
|
||||||
|
|
||||||
|
- service: persistent_notification.create
|
||||||
|
data:
|
||||||
|
title: "Travis-CI FAILURE"
|
||||||
|
message: "Travis validation testing failed."
|
||||||
|
notification_id: "travis_failed"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user