mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-07 10:18:44 +00:00
Add bedside yeelight. Add alarm scripts. Tweak routines
This commit is contained in:
@@ -55,6 +55,32 @@ script:
|
||||
- service: camera.turn_off
|
||||
entity_id: camera.amcrest_camera
|
||||
|
||||
alarm_start:
|
||||
sequence:
|
||||
- service: media_player.play_media
|
||||
data:
|
||||
entity_id: media_player.master_bedroom
|
||||
media_content_id: "https://raw.githubusercontent.com/saeedsohi/siren/master/FireTrucksSirens.mp3"
|
||||
media_content_type: music
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside_light
|
||||
data:
|
||||
brightness_pct: 100
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside_light
|
||||
data:
|
||||
effect: Police
|
||||
|
||||
alarm_stop:
|
||||
sequence:
|
||||
- service: media_player.media_stop
|
||||
entity_id: media_player.master_bedroom
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedside_light
|
||||
data:
|
||||
brightness_pct: 60
|
||||
kelvin: 2400
|
||||
|
||||
# Hack - the switch.camera initial state is wrong (ON) when the server starts.
|
||||
automation:
|
||||
- id: camera_turn_off_on_startup
|
||||
|
||||
Reference in New Issue
Block a user