Update climate automation to adjust temperature threshold to 79 and add condition for guest mode, enhancing control over climate settings.

This commit is contained in:
Carlo Costanzo
2025-08-06 12:56:37 -04:00
parent 7403198c25
commit a0a93dceec

View File

@@ -189,13 +189,16 @@ automation:
- platform: numeric_state - platform: numeric_state
entity_id: climate.downstairs entity_id: climate.downstairs
attribute: temperature attribute: temperature
below: 78 below: 79
condition: condition:
- condition: state - condition: state
entity_id: sun.sun entity_id: sun.sun
state: 'above_horizon' state: 'above_horizon'
- condition: template - condition: template
value_template: "{{ state_attr('climate.downstairs', 'temperature') < 79 }}" value_template: "{{ state_attr('climate.downstairs', 'temperature') < 79 }}"
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action: action:
- service: climate.set_temperature - service: climate.set_temperature
data: data: