feat: Add Guest Mode

This commit is contained in:
2024-09-02 10:35:18 -07:00
parent 2665413b60
commit f21c85d996
2 changed files with 50 additions and 10 deletions

View File

@@ -87,7 +87,10 @@ automation:
to: 'on'
for:
minutes: 5
condition: "{{ not is_state('input_select.climate_mode', 'Paused') }}"
condition:
- "{{ not is_state('input_select.climate_mode', 'Manual') }}"
- "{{ not is_state('input_select.climate_mode', 'Paused') }}"
- "{{ is_state('input_boolean.guest_mode', 'off') }}"
action:
- service: scene.create
data:
@@ -125,7 +128,9 @@ automation:
to: 'off'
for:
minutes: 5
condition: "{{ is_state('input_select.climate_mode', 'Paused') }}"
condition:
- "{{ not is_state('input_select.climate_mode', 'Manual') }}"
- "{{ is_state('input_select.climate_mode', 'Paused') }}"
action:
- service: scene.turn_on
target:
@@ -146,7 +151,9 @@ automation:
trigger:
- platform: time
at: input_datetime.hvac_start_night
condition: "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
condition:
- "{{ not is_state('input_select.climate_mode', 'Manual') }}"
- "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
action:
- service: climate.set_temperature
target:
@@ -160,7 +167,9 @@ automation:
trigger:
- platform: time
at: input_datetime.hvac_start_day
condition: "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
condition:
- "{{ not is_state('input_select.climate_mode', 'Manual') }}"
- "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
action:
- service: climate.set_temperature
target:
@@ -175,6 +184,8 @@ automation:
- platform: state
entity_id: input_select.house_presence_state
to: 'Extended Away'
condition:
- "{{ not is_state('input_select.climate_mode', 'Manual') }}"
action:
- service: climate.set_temperature
target: