Today I am trying to synchronize the setpoint of two AC units when a separating wall is taken out. I was using automation to get this working.
I can’t seem to get it to work…
My code so far:
- id: 'Zalensetlink'
alias: 'Zalen set Link'`
trigger:
platform: state
entity_id: climate.z2
condition:
- condition: state
entity_id: binary_sensor.z1_schuif
state: 'on'
action:
- service: climate.set_temperature
data:
entity_id: climate.z1
temperature: {{ states.climate.z2.attributes.temperature }}
I get the following error:
Error loading /config/configuration.yaml: invalid key: "OrderedDict([('states.climate.z2.attributes.temperature | float', None)])"
in “/config/automations.yaml”
I have no idea what I’m doing wrong.
Can somebody help me?