1
0
ansible-home-assistant/automations/files/scripts/modes.yaml

105 lines
3.0 KiB
YAML
Raw Normal View History

2021-02-02 22:39:02 +00:00
good_night:
alias: Good Night
2021-01-11 00:33:46 +00:00
sequence:
2021-02-02 22:07:29 +00:00
- service: alarm_control_panel.alarm_arm_night
entity_id: alarm_control_panel.ha_alarm
- service: input_select.select_option
data:
option: Night
entity_id: input_select.home_mode
2021-01-11 00:33:46 +00:00
- service: light.turn_off
entity_id:
2021-05-06 23:04:02 +00:00
- light.desk_lightbar
- light.desk_lightbar_ambilight
2021-01-11 00:33:46 +00:00
- light.computer_lights
- light.tv_lights
- light.couch_lamp
- light.table_lamp
- light.kitchen_lights
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_minor_lights
- light.bedroom_lights
- light.bed_lightstrip
- light.bed_lamp
- light.hallway_light
- light.hallway_lightstrip
2021-02-02 22:07:29 +00:00
- light.computer_computer_cave_background
2021-01-11 00:33:46 +00:00
- service: switch.turn_off
entity_id:
2021-02-02 22:07:29 +00:00
- switch.desk_motor_on_off
2021-01-11 00:33:46 +00:00
- switch.computer_outlet
2021-04-19 10:27:29 +00:00
- service: shell_command.pc_suspend
2021-01-11 00:33:46 +00:00
mode: single
icon: 'mdi:weather-night'
2021-02-02 22:39:02 +00:00
good_morning:
alias: Good Morning
sequence:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.ha_alarm
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
- service: switch.turn_on
data: { }
entity_id:
- switch.desk_motor_on_off
- switch.computer_outlet
mode: single
icon: 'mdi:weather-sunny'
leave_home:
alias: Leave Home
sequence:
- service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.ha_alarm
- service: input_select.select_option
data:
option: Away
entity_id: input_select.home_mode
- service: light.turn_off
data: { }
entity_id:
2021-05-06 23:04:02 +00:00
- light.desk_lightbar
- light.desk_lightbar_ambilight
2021-02-02 22:39:02 +00:00
- light.computer_lights
- light.tv_lights
- light.couch_lamp
- light.table_lamp
- light.kitchen_lights
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_minor_lights
- light.bedroom_lights
- light.bed_lightstrip
- light.bed_lamp
- light.hallway_light
- light.hallway_lightstrip
- light.computer_computer_cave_background
- service: switch.turn_off
entity_id: switch.desk_motor_on_off
2021-04-19 10:27:29 +00:00
- service: shell_command.pc_suspend
2021-02-02 22:39:02 +00:00
mode: single
icon: 'mdi:home-export-outline'
arrive_home:
alias: Arrive Home
sequence:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.ha_alarm
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
- service: switch.turn_on
data: { }
entity_id:
- switch.desk_motor_on_off
- switch.computer_outlet
mode: single
icon: 'mdi:home-import-outline'