REMOVE MORE OF TRAVIS FROM THE REPO - #947

This commit is contained in:
ccostan
2021-07-23 11:53:26 -04:00
parent 33fadbac65
commit d43131c3dd
6 changed files with 36 additions and 36 deletions

View File

@@ -6,12 +6,12 @@
#-------------------------------------------
#-------------------------------------------
sensor:
- platform: travisci
api_key: !secret travisci_api
scan_interval: 2400
monitored_conditions:
- state
# sensor:
# - platform: travisci
# api_key: !secret travisci_api
# scan_interval: 2400
# monitored_conditions:
# - state
#-------------------------------------------
#-------------------------------------------
@@ -28,30 +28,30 @@ rest_command:
#Tweets pushed out to twitter.
automation:
- alias: "Travis FAILURE Notification"
id: 326881a7-47ab-4897-a0c7-74ce290224de
mode: restart
trigger:
- platform: state
entity_id:
- sensor.ccostan_home_assistantconfig_state
to: 'failed'
for:
hours: 2
action:
- service: script.notify_engine
data:
value1: 'Travis validation testing failed.'
who: 'carlo'
apns: 'information'
- service: persistent_notification.create
data:
title: "Travis-CI FAILURE"
message: "Travis validation testing failed."
notification_id: "travis_failed"
# - alias: "Travis FAILURE Notification"
# id: 326881a7-47ab-4897-a0c7-74ce290224de
# mode: restart
#
# trigger:
# - platform: state
# entity_id:
# - sensor.ccostan_home_assistantconfig_state
# to: 'failed'
# for:
# hours: 2
#
# action:
# - service: script.notify_engine
# data:
# value1: 'Travis validation testing failed.'
# who: 'carlo'
# apns: 'information'
#
# - service: persistent_notification.create
# data:
# title: "Travis-CI FAILURE"
# message: "Travis validation testing failed."
# notification_id: "travis_failed"
- alias: 'Closed Github Issue'
id: cccd9bef-17d9-48ae-87e3-6cf883712779
@@ -154,7 +154,7 @@ automation:
" Upgrade or I turn off the AC. #TryMe #Florida",
" The bits are sooo shiny!",
" This will be the GREATEST Upgrade EVER!",
" That New software smell is the best!",
" That New software smell is the best!",
" "
] | random -}}
{%- endmacro -%}