Update blueprints/automations/bzo_climate.yaml
fix schedule off
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
override_switch: !input override_switch
|
||||
presence: !input presence_entity
|
||||
log_level: !input log_level
|
||||
schedule_entity: !input schedule_entity
|
||||
|
||||
room_temp: >
|
||||
{% set r = states(room_sensor) %}
|
||||
@@ -253,6 +254,10 @@
|
||||
name: "Smart Climate"
|
||||
message: "A/C turned off because schedule is OFF"
|
||||
entity_id: !input climate_entity
|
||||
- condition: template
|
||||
value_template: >
|
||||
{{ schedule_entity != 'off' }}
|
||||
|
||||
|
||||
- choose:
|
||||
- conditions:
|
||||
@@ -268,7 +273,6 @@
|
||||
name: "Smart Climate"
|
||||
message: "A/C turned off due to absence (not_home)"
|
||||
entity_id: !input climate_entity
|
||||
|
||||
- condition: template
|
||||
value_template: >
|
||||
{{ presence == '' or is_state(presence, 'home') }}
|
||||
@@ -287,7 +291,6 @@
|
||||
name: "Smart Climate"
|
||||
message: "A/C turned off due to Away Mode"
|
||||
entity_id: !input climate_entity
|
||||
|
||||
- condition: template
|
||||
value_template: >
|
||||
{{ away == '' or is_state(away, 'off') }}
|
||||
|
||||
Reference in New Issue
Block a user