mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-28 00:51:38 +00:00
Lots of Spring Cleaning.
This commit is contained in:
@@ -1,50 +0,0 @@
|
||||
#-------------------------------------------
|
||||
# @CCOSTAN
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
#-------------------------------------------
|
||||
# homeassistant:
|
||||
# customize_glob:
|
||||
# "*.*_sleep_hours":
|
||||
# unit_of_measurement: hours
|
||||
# icon: mdi:sleep
|
||||
#
|
||||
#
|
||||
#-------------------------------------------
|
||||
sensor:
|
||||
- platform: travisci
|
||||
api_key: !secret travis_api
|
||||
scan_interval: 2400
|
||||
monitored_conditions:
|
||||
- state
|
||||
#-------------------------------------------
|
||||
# Group added to network package.
|
||||
##############################################################################
|
||||
### Automations - Detect when things are not right. Like any Good Watchdog.
|
||||
##############################################################################
|
||||
#automation:
|
||||
#Tweets pushed out to twitter.
|
||||
|
||||
automation:
|
||||
- alias: "Travis FAILURE Notification"
|
||||
|
||||
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"
|
Reference in New Issue
Block a user