1
0
ansible-home-assistant/scripts/10.modes.yaml

168 lines
4.8 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:
2022-04-29 22:22:43 +00:00
- service: alarm_control_panel.alarm_arm_home
2022-04-30 16:05:15 +00:00
entity_id: alarm_control_panel.home_alarm
2021-02-02 22:07:29 +00:00
- 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:
- light.couch_lights
2021-01-11 00:33:46 +00:00
- light.tv_lights
2021-12-14 15:09:31 +00:00
- light.office
2021-01-11 00:33:46 +00:00
- light.kitchen_lights
2022-04-19 22:27:04 +00:00
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
2021-01-11 00:33:46 +00:00
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
2022-04-19 22:27:04 +00:00
- light.bathroom_color_zha_group_0x0007
2021-01-11 00:33:46 +00:00
- light.hallway_light
- light.hallway_lightstrip
2022-04-19 22:27:04 +00:00
- light.balcony
- light.table_lamp_lights
- choose:
- conditions:
- condition: state
entity_id: input_boolean.3d_printer_timelapse
state: 'off'
sequence:
- service: light.turn_off
entity_id:
- light.3d_printer_light
2021-01-11 00:33:46 +00:00
- service: switch.turn_off
entity_id:
- switch.printer_switch
2021-05-11 18:32:43 +00:00
- service: cover.close_cover
entity_id:
- cover.bedroom_blinds
2021-10-11 18:15:50 +00:00
- cover.dining_blinds
2022-05-13 22:51:12 +00:00
- cover.office_blinds
- service: lock.lock
target:
2022-10-20 17:11:59 +00:00
entity_id: lock.front_door_lock_doorlock
2022-08-12 19:07:06 +00:00
- choose:
- conditions:
- condition: numeric_state
entity_id: sensor.ble_temperature_bedroom_sensor_ble
below: '26'
sequence:
- service: climate.turn_off
target:
entity_id: climate.ac
2021-10-24 18:58:06 +00:00
- service: switch.turn_on
entity_id: switch.mute_doorbell
- service: input_boolean.turn_off
target:
entity_id: input_boolean.pc_caffeine
- service: script.pc_safe_off
- service: hassio.addon_stop
data:
addon: core_samba
- service: script.tv_off
2021-01-11 00:33:46 +00:00
mode: single
2021-05-11 18:32:43 +00:00
icon: mdi:weather-night
2021-02-02 22:39:02 +00:00
good_morning:
alias: Good Morning
sequence:
2021-05-24 22:04:44 +00:00
- service: cover.open_cover
entity_id:
- cover.bedroom_blinds
2021-10-11 18:15:50 +00:00
- cover.dining_blinds
2022-05-13 22:51:12 +00:00
- cover.office_blinds
2021-02-02 22:39:02 +00:00
- service: alarm_control_panel.alarm_disarm
2022-04-30 16:05:15 +00:00
entity_id: alarm_control_panel.home_alarm
2021-02-02 22:39:02 +00:00
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
- service: switch.turn_on
2021-09-22 00:18:32 +00:00
entity_id: switch.computer_outlet
2021-05-11 18:34:52 +00:00
- service: switch.turn_off
entity_id: switch.mute_doorbell
2022-08-05 22:27:52 +00:00
- service: switch.turn_on
target:
entity_id: switch.coffee_machine_on_off
2021-02-02 22:39:02 +00:00
mode: single
2021-05-11 18:32:43 +00:00
icon: mdi:weather-sunny
2021-02-02 22:39:02 +00:00
leave_home:
alias: Leave Home
sequence:
- service: alarm_control_panel.alarm_arm_away
2022-04-30 16:05:15 +00:00
entity_id: alarm_control_panel.home_alarm
2021-02-02 22:39:02 +00:00
- service: input_select.select_option
data:
option: Away
entity_id: input_select.home_mode
- service: light.turn_off
entity_id:
- light.couch_lights
2021-02-02 22:39:02 +00:00
- light.tv_lights
2021-12-14 15:09:31 +00:00
- light.office
2021-02-02 22:39:02 +00:00
- light.kitchen_lights
2022-04-19 22:27:04 +00:00
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
2021-02-02 22:39:02 +00:00
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
2022-04-19 22:27:04 +00:00
- light.bathroom_color_zha_group_0x0007
2021-02-02 22:39:02 +00:00
- light.hallway_light
- light.hallway_lightstrip
2022-04-19 22:27:04 +00:00
- light.balcony
- light.table_lamp_lights
- choose:
- conditions:
- condition: state
entity_id: input_boolean.3d_printer_timelapse
state: 'off'
sequence:
- service: light.turn_off
entity_id:
- light.3d_printer_light
2021-06-24 20:18:01 +00:00
- service: switch.turn_on
entity_id:
2021-06-30 21:54:16 +00:00
- switch.kitchen_camera_outlet_on_off
- switch.kitchen_state
- switch.hallway_state
2021-02-02 22:39:02 +00:00
- service: switch.turn_off
entity_id:
- switch.printer_switch
2021-05-11 18:32:43 +00:00
- service: script.pc_sleep
- service: lock.lock
target:
2022-10-20 17:11:59 +00:00
entity_id: lock.front_door_lock_doorlock
- service: script.tv_off
2021-06-30 21:37:01 +00:00
- service: climate.turn_off
target:
entity_id: climate.ac
2022-09-17 16:12:58 +00:00
- service: script.vacuum_today
2021-02-02 22:39:02 +00:00
mode: single
2021-05-11 18:32:43 +00:00
icon: mdi:home-export-outline
2021-02-02 22:39:02 +00:00
arrive_home:
alias: Arrive Home
sequence:
- service: alarm_control_panel.alarm_disarm
2022-04-30 16:05:15 +00:00
entity_id: alarm_control_panel.home_alarm
2021-02-02 22:39:02 +00:00
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
- service: switch.turn_on
entity_id:
- switch.computer_outlet
2021-06-24 20:18:01 +00:00
- service: switch.turn_off
entity_id:
- switch.kitchen_state
- switch.hallway_state
2021-06-30 21:54:16 +00:00
- switch.kitchen_camera_outlet_on_off
2021-02-02 22:39:02 +00:00
mode: single
2021-05-11 18:32:43 +00:00
icon: mdi:home-import-outline