Hi, i made an Automation to set the Heatpoint when somebody enters zone.home with the condition zone.home= 1, but i have the problem that the condition will be ignored. Despite of zone.home had the value 3 the action was executed. As condition i used a template value {{ states('zone.home') == '1' }} What i am doing wrong. Here is he complete Automation yaml.
#Zone Home Automation with template value
1 messages · Page 1 of 1 (latest)
alias: TRV Zone Home_1
description: ""
trigger:
- platform: zone
entity_id:- person.1
- person.2
- person.3
zone: zone.home
event: enter
condition:
- condition: template
value_template: "{{ states('zone.home') == '1' }}"
action: - service: climate.set_temperature
metadata: {}
data:
hvac_mode: heat
temperature: 20
target:
entity_id:
- climate.trv_ki
- climate.trv_kue
- climate.trv_sz
- climate.trv_wz - service: notify.signal
data:
message: Zone Home =1 Heat 20°
mode: single