I really struggle al lot getting an automation configured on home assistant version
core-2021.6.6
I try to implement an on/off toggle of my air condition using two automations that evaluate the current hvac state to act accordingly (set to cool if state is ‘off’ set to ‘off’ if state is cool)
But even when the state of climate.klima_schlafzimmer is set to cool (as I had a look in the dev tools) the condition is always evaluate to false as I can see in the trace.
It’s preferable if you post it as formatted YAML. It in its current form, it’s difficult for anyone to detect syntax errors like improper indentation.
Either use code blocks (type three consecutive back-quotes ``` on a separate line before the code and another three on a separate line after the code) or use the forum’s formatting command (select the YAML code and click the </> icon in the menu).