homeassistant/configs/automations.yaml

37 lines
1.0 KiB
YAML
Raw Normal View History

# global and startup automations here
- id: 'themestartup'
alias: 'System - Set Custom Theme at Startup'
trigger:
platform: homeassistant
event: start
action:
service: frontend.set_theme
data:
name: 'Dark Turqoise'
- alias: Restart Notification
trigger:
platform: homeassistant
event: start
action:
- 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
data:
title: "Home Assistant Has Restarted"
message: "Attention [i]italic[/i] Text[br][url=https://ha.kebler.net/]Home Assitant[/url]"