Files
sarah/config/packages/routines/leaving_home.yaml
T
2022-05-07 11:11:59 +03:00

41 lines
1.1 KiB
YAML

script:
routine_leaving_home:
alias: Routine · Leaving home
sequence:
- service: homeassistant.turn_off
entity_id:
- media_player.nvidia_shield
- media_player.living_room_tv
- light.all
- climate.toshiba_ac
- group.all_radiators
- fan.philips_airpurifier
- service: media_player.media_stop
entity_id: group.all_sonos
- service: light.turn_on
entity_id:
- light.browser_hallway
- light.browser_kitchen
data:
brightness_pct: 1
- service: input_select.select_option
entity_id: input_select.hallway_dashboard_mode
data:
option: "Coming Home"
- service: cover.close_cover
entity_id: cover.living_room
- service: notify.telegram
data:
title: "🏠 *Presence Module · Leaving Home*"
message: "I see you're leaving. Goodbye!"
- service: switch.turn_on
entity_id: switch.tapo_bedroom
- service: switch.turn_off
entity_id: switch.mercury_home_mode