2020-12-08 19:58:32 -08:00
|
|
|
# global and startup automations here
|
|
|
|
- id: 'themestartup'
|
|
|
|
alias: 'System - Set Custom Theme at Startup'
|
2020-03-27 08:13:30 -07:00
|
|
|
trigger:
|
2020-12-08 19:58:32 -08:00
|
|
|
platform: homeassistant
|
|
|
|
event: start
|
2020-03-27 08:13:30 -07:00
|
|
|
action:
|
2020-12-08 19:58:32 -08:00
|
|
|
service: frontend.set_theme
|
2020-03-27 08:13:30 -07:00
|
|
|
data:
|
2020-12-08 19:58:32 -08:00
|
|
|
name: 'Dark Turqoise'
|
|
|
|
- alias: Restart Notification
|
|
|
|
trigger:
|
|
|
|
platform: homeassistant
|
|
|
|
event: start
|
|
|
|
action:
|
2020-12-10 12:50:34 -08:00
|
|
|
- service: notify.pushsafer
|
|
|
|
data:
|
|
|
|
title: "Home Assistant Has Restarted"
|
|
|
|
message: "Attention [i]italic[/i] Text[br][url=https://ha.238.kebler.net/]Home Assitant 238[/url]"
|
|
|
|
target: ["26583"]
|
|
|
|
data:
|
|
|
|
icon: "20"
|
|
|
|
iconcolor: "#FF00FF"
|
|
|
|
sound: "33"
|
|
|
|
vibration: "0"
|
|
|
|
url: "https://ha.238.kebler.net/"
|
|
|
|
urltitle: "Open Home Assistant"
|
|
|
|
time2live: "10"
|
|
|
|
priority: "2"
|
|
|
|
retry: "60"
|
|
|
|
expire: "600"
|
|
|
|
answer: "1"
|
|
|
|
- service: notify.gmail
|
2020-12-08 19:58:32 -08:00
|
|
|
data:
|
2020-12-10 12:50:34 -08:00
|
|
|
title: "Home Assistant Has Restarted"
|
|
|
|
message: "Attention [i]italic[/i] Text[br][url=https://ha.kebler.net/]Home Assitant[/url]"
|