From 73b03fb0bb7b9ee940d7d2f1f688e0e14e1dd133 Mon Sep 17 00:00:00 2001 From: pgrondek Date: Tue, 2 Feb 2021 23:39:02 +0100 Subject: [PATCH] Update modes --- automations/files/scripts/modes.yaml | 71 +++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/automations/files/scripts/modes.yaml b/automations/files/scripts/modes.yaml index 486e15d..87d9cb3 100644 --- a/automations/files/scripts/modes.yaml +++ b/automations/files/scripts/modes.yaml @@ -1,4 +1,5 @@ -- alias: GoodNight +good_night: + alias: Good Night sequence: - service: alarm_control_panel.alarm_arm_night entity_id: alarm_control_panel.ha_alarm @@ -7,6 +8,7 @@ option: Night entity_id: input_select.home_mode - service: light.turn_off + data: { } entity_id: - light.desk_lamp - light.computer_lights @@ -32,3 +34,70 @@ - switch.computer_outlet mode: single icon: 'mdi:weather-night' +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: + - light.desk_lamp + - 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 + data: { } + entity_id: switch.desk_motor_on_off + 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' +