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

275 lines
7.6 KiB
YAML
Raw Normal View History

2021-02-02 22:39:02 +00:00
good_night:
alias: Good Night
2023-12-17 16:06:10 +00:00
mode: single
icon: mdi:weather-night
2021-01-11 00:33:46 +00:00
sequence:
2023-10-04 21:48:17 +00:00
- service: input_boolean.turn_off
target:
entity_id:
- input_boolean.meal_helper
- input_boolean.meal_alert
2021-02-02 22:07:29 +00:00
- service: input_select.select_option
data:
option: Night
entity_id: input_select.home_mode
2023-08-21 21:42:17 +00:00
- service: script.cctv_on
2024-07-31 23:29:08 +00:00
- service: script.alarm_arm_stay
2024-06-02 00:29:33 +00:00
- service: script.bedroom_lights_off
- service: script.bedroom_bed_lamp_on
- 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
2022-12-14 23:56:50 +00:00
- service: script.humidifier_off
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
2022-11-28 23:58:23 +00:00
- choose:
- conditions:
- condition: state
entity_id: lock.front_door_lock_doorlock
state: unlocked
sequence:
- service: lock.lock
target:
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: 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
2022-11-24 01:00:17 +00:00
- service: climate.set_temperature
data:
temperature: 20
target:
entity_id:
- climate.office_thermostat
- climate.dining_thermostat
2022-12-06 18:12:05 +00:00
- service: light.turn_off
entity_id:
2023-12-17 16:06:10 +00:00
- light.wled_star
2022-12-06 18:12:05 +00:00
- light.couch_lights
- light.tv_lights
- light.office
- light.kitchen_lights
- light.bedroom_lights
- light.bed_lightstrip
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_color_zha_group_0x0007
- light.hallway_light
- light.hallway_lightstrip
- light.balcony
- light.table_lamp_lights
2023-07-13 21:19:52 +00:00
- light.lego_bookcase_light
2022-12-14 23:41:40 +00:00
before_wakeup:
alias: Before wakeup
sequence:
- service: climate.set_temperature
data:
temperature: 25
target:
entity_id:
- climate.office_thermostat
- climate.dining_thermostat
2021-02-02 22:39:02 +00:00
good_morning:
alias: Good Morning
2023-12-17 16:06:10 +00:00
mode: single
icon: mdi:weather-sunny
2021-02-02 22:39:02 +00:00
sequence:
2024-08-01 07:11:02 +00:00
- service: script.alarm_disarm
2024-06-02 00:29:33 +00:00
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
2023-10-04 21:48:17 +00:00
- service: input_boolean.turn_on
target:
entity_id: input_boolean.meal_alert
2023-07-02 20:05:33 +00:00
- service: input_boolean.turn_off
target:
entity_id: input_boolean.daily_coffee
2022-12-12 19:30:38 +00:00
- service: script.cctv_off
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: switch.turn_on
2022-12-12 19:04:54 +00:00
entity_id:
- switch.computer_outlet
2022-12-14 23:56:50 +00:00
- service: script.humidifier_on
2022-08-05 22:27:52 +00:00
- service: switch.turn_on
target:
entity_id: switch.coffee_machine_on_off
2023-07-13 21:19:52 +00:00
- service: light.turn_on
target:
entity_id: light.lego_bookcase_light
2022-11-24 01:00:17 +00:00
- service: climate.set_temperature
data:
2023-01-13 23:17:38 +00:00
temperature: 23
2022-11-24 01:00:17 +00:00
target:
entity_id:
- climate.dining_thermostat
2023-02-02 14:13:44 +00:00
- service: climate.set_temperature
data:
temperature: 25
target:
entity_id:
- climate.office_thermostat
2022-11-24 01:00:17 +00:00
- service: climate.set_temperature
data:
temperature: 21
target:
entity_id:
- climate.bedroom_thermostat
2023-04-08 20:34:21 +00:00
- choose:
- conditions:
- condition: state
entity_id: switch.3d_printer
state: 'on'
sequence:
- service: light.turn_on
entity_id: light.3d_printer_light
2021-02-02 22:39:02 +00:00
leave_home:
alias: Leave Home
2023-12-17 16:06:10 +00:00
mode: single
icon: mdi:home-export-outline
2021-02-02 22:39:02 +00:00
sequence:
2024-08-01 07:11:02 +00:00
- service: script.alarm_arm_away
2021-02-02 22:39:02 +00:00
- service: input_select.select_option
data:
option: Away
entity_id: input_select.home_mode
2024-06-02 00:29:33 +00:00
- service: script.cctv_on
- 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-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
2022-11-28 23:58:23 +00:00
- choose:
- conditions:
- condition: state
entity_id: lock.front_door_lock_doorlock
state: unlocked
sequence:
2022-11-29 00:03:17 +00:00
- choose:
- conditions:
- condition: state
entity_id: binary_sensor.front_door_open_close
state: 'on'
sequence:
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.front_door_open_close
to: 'off'
2022-11-28 23:58:23 +00:00
- service: lock.lock
data: { }
target:
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
2022-11-24 01:00:17 +00:00
- service: climate.set_temperature
data:
2023-02-02 14:13:44 +00:00
temperature: 18
2022-11-24 01:00:17 +00:00
target:
entity_id:
- climate.office_thermostat
- climate.dining_thermostat
- climate.bedroom_thermostat
2022-12-06 18:12:05 +00:00
- service: light.turn_off
entity_id:
- light.couch_lights
- light.tv_lights
- light.office
- light.kitchen_lights
- light.bedroom_lights
- light.bed_lamps
- light.bed_lightstrip
- light.kitchen_sink_lighstrip
- light.bathroom_lights
- light.shower_lights
- light.bathroom_mirror_lights
- light.bathroom_color_zha_group_0x0007
- light.hallway_light
- light.hallway_lightstrip
- light.balcony
- light.table_lamp_lights
2023-07-13 21:19:52 +00:00
- light.lego_bookcase_light
2021-02-02 22:39:02 +00:00
arrive_home:
alias: Arrive Home
2023-12-17 16:06:10 +00:00
mode: single
icon: mdi:home-import-outline
2021-02-02 22:39:02 +00:00
sequence:
2024-08-01 07:11:02 +00:00
- service: script.alarm_disarm
2021-02-02 22:39:02 +00:00
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
2024-06-02 00:29:33 +00:00
- service: script.cctv_off
2021-02-02 22:39:02 +00:00
- service: switch.turn_on
entity_id:
- switch.computer_outlet
2022-11-24 01:00:17 +00:00
- service: climate.set_temperature
data:
2023-01-13 23:17:38 +00:00
temperature: 23
2022-11-24 01:00:17 +00:00
target:
entity_id:
- climate.dining_thermostat
- climate.bedroom_thermostat
2023-02-02 14:13:44 +00:00
- service: climate.set_temperature
data:
temperature: 25
target:
entity_id:
- climate.office_thermostat
2023-04-08 20:34:21 +00:00
- choose:
- conditions:
- condition: state
entity_id: switch.3d_printer
state: 'on'
sequence:
- service: light.turn_on
entity_id: light.3d_printer_light
- service: light.turn_on
entity_id:
- light.lego_bookcase_light