41 lines
1013 B
YAML
Raw Normal View History

2018-01-01 19:00:45 -05:00
###################################
## Start Up Section
###################################
- alias: Startup Notification and Shut startup lights
2020-07-20 19:33:03 +01:00
id: f3f0a8d1-6c40-43e0-91e4-827194f78506
2018-01-01 19:00:45 -05:00
trigger:
- platform: homeassistant
event: start
action:
- service: script.notify_engine
data:
title: 'Home Assistant StartUp'
value1: 'Home Assistant is Up and Running!'
2018-01-01 19:00:45 -05:00
who: 'carlo'
apns_id: 'information'
2018-01-01 19:00:45 -05:00
- service: homeassistant.turn_off
entity_id:
- light.hallway_lights
#- switch.spaceship_update_switch - Tesla integration was removed.
- service: group.set
data:
object_id: "arriving"
entities: []
- condition: state
entity_id: sun.sun
state: 'above_horizon'
- service: notify.alexa_media
data:
target:
- media_player.office
title: "Home Assistant Restarted"
data:
type: announce
message: "Home Assistant has been restarted."