diff --git a/packages/lighting_and_scenes.yaml b/packages/lighting_and_scenes.yaml index acb1114..e011068 100644 --- a/packages/lighting_and_scenes.yaml +++ b/packages/lighting_and_scenes.yaml @@ -1069,6 +1069,9 @@ automation: - condition: trigger id: door sequence: + - service: input_boolean.turn_on + target: + entity_id: input_boolean.audible_notifications - service: light.turn_on target: entity_id: @@ -1100,6 +1103,18 @@ automation: entity_id: input_select.tina_desk_scenes data: option: Evening Mode + - service: timer.start + target: + entity_id: timer.vacation_helper + data: + duration: "01:00:00" + - service: script.speech_engine + data: + who: living_room + message: >- + Welcome, vacation helper. I have turned on every light in the house for you. + They will remain on for one hour. Thank you for your help. + type: alert - conditions: - condition: trigger id: timer-finished @@ -1113,6 +1128,9 @@ automation: - service: switch.turn_on target: entity_id: switch.presence_simulation + - service: input_boolean.turn_off + target: + entity_id: input_boolean.audible_notifications script: stairwell_led_strip: diff --git a/packages/notify.yaml b/packages/notify.yaml index 4b89122..d8d915c 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -1008,9 +1008,6 @@ script: - condition: state entity_id: binary_sensor.parents_home state: 'on' - - condition: state - entity_id: input_boolean.vacation_mode - state: 'off' - service: >- {% if voice == 'nabu' %} script.nabu_voice diff --git a/packages/security.yaml b/packages/security.yaml index c90d360..92b88f6 100644 --- a/packages/security.yaml +++ b/packages/security.yaml @@ -95,7 +95,7 @@ alarm_control_panel: - input_boolean.lockdown_issue - if: - condition: template - value_template: "{{ silent != 1 }}" + value_template: "{{ silent != 1 and is_state('input_boolean.vacation_mode','off') }}" then: - service: script.status_annc data: @@ -119,7 +119,7 @@ alarm_control_panel: entity_id: input_boolean.lockdown_issue - if: - condition: template - value_template: "{{ silent != 1 }}" + value_template: "{{ silent != 1 and is_state('input_boolean.vacation_mode','off') }}" then: - service: script.status_annc data: