1
0

Update modes script order

This commit is contained in:
Przemek Grondek 2024-06-02 02:29:33 +02:00
parent c98436bd08
commit f69ebb73b1

View File

@ -12,10 +12,10 @@ good_night:
data: data:
option: Night option: Night
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: script.bedroom_lights_off
- service: script.cctv_on - service: script.cctv_on
- service: alarm_control_panel.alarm_arm_home - service: alarm_control_panel.alarm_arm_home
entity_id: alarm_control_panel.home_alarm entity_id: alarm_control_panel.home_alarm
- service: script.bedroom_lights_off
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
@ -105,6 +105,12 @@ good_morning:
mode: single mode: single
icon: mdi:weather-sunny icon: mdi:weather-sunny
sequence: sequence:
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
- service: input_boolean.turn_on - service: input_boolean.turn_on
target: target:
entity_id: input_boolean.meal_alert entity_id: input_boolean.meal_alert
@ -117,12 +123,6 @@ good_morning:
- cover.bedroom_blinds - cover.bedroom_blinds
- cover.dining_blinds - cover.dining_blinds
- cover.office_blinds - cover.office_blinds
- service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option
data:
option: Day
entity_id: input_select.home_mode
- service: switch.turn_on - service: switch.turn_on
entity_id: entity_id:
- switch.computer_outlet - switch.computer_outlet
@ -167,13 +167,13 @@ leave_home:
mode: single mode: single
icon: mdi:home-export-outline icon: mdi:home-export-outline
sequence: sequence:
- service: script.cctv_on
- service: alarm_control_panel.alarm_arm_away - service: alarm_control_panel.alarm_arm_away
entity_id: alarm_control_panel.home_alarm entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option - service: input_select.select_option
data: data:
option: Away option: Away
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: script.cctv_on
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
@ -245,13 +245,13 @@ arrive_home:
mode: single mode: single
icon: mdi:home-import-outline icon: mdi:home-import-outline
sequence: sequence:
- service: script.cctv_off
- service: alarm_control_panel.alarm_disarm - service: alarm_control_panel.alarm_disarm
entity_id: alarm_control_panel.home_alarm entity_id: alarm_control_panel.home_alarm
- service: input_select.select_option - service: input_select.select_option
data: data:
option: Day option: Day
entity_id: input_select.home_mode entity_id: input_select.home_mode
- service: script.cctv_off
- service: switch.turn_on - service: switch.turn_on
entity_id: entity_id:
- switch.computer_outlet - switch.computer_outlet