I’m trying to create automations that will turn my HVAC off/on when certain sensors are opened or closed. I want them only to run if my thermostat (ecobee) is not in the correct mode (off or heat_cool).
When I check the trace, the automation always exits on the HVAC condition, even when I know it should return true, so I’m not sure what’s going on. My YAML is below. Can anyone help me troubleshoot or point me in the right direction?
I could be incorrect, but this seems like an automation not a blueprint. So that might be why your post hasn’t got much traction since it could be in the wrong section.
As far as the automation is concerned, it looks correct since it was made via UI. I don’t have much experience with the ‘device’ conditions. I would try a state condition to see if it gives the same error.
- condition: state
entity_id: climate.main_floor
state: 'off'
I can confirm that I never bothered to read this topic because it claims to be about a blueprint (and I have little interest in them). However, it’s actually about an automation, not a blueprint. I recommend you correct the topic’s title and remove the Blueprints category.
The condition requires that the window and door must be closed and the thermostat must be off. Is that the combination you want?
Apologies for not categorizing this properly and thanks to those who have responded.
@123 You are correct that the condition is that the window and door must be closed and the thermostat off for the automation to execute. Even with HVAC off, traces show that the condition is evaluated as false and the automation exits without executing.