I have created an Automation that switches on the underfloor heating pump when at least one of the thermostats is switched on.
My problem is that this automation always executes (and thus the pump is turned on), despite the fact that not all conditions are met.
When I test the conditions I get the message: “Condition not met”…
In summary, the script below executes the following (every 2 minutes):
WHEN
pump is off
AND
thermostat1 is on OR thermostat2 is on OR thermostat3 is on
THEN
turn on pump
You saw that well😄. Actually there are even more than 6 thermostats (13 pieces), but I tried to keep it simple. Apparently I didn’t succeed in this🤦♂️
If the conditions are also skipped when running manually, then I completely understand.
I think I have now also made the solution correctly with state triggers as you suggested. This is indeed a better option for switching on the pump (one of the thermostats must be on).
But what is the best way to make a circuit for turning off the pump (all thermostats must be turned off)?
Using a group seems to me to be an excellent idea, but the group doesn’t quite work.
The group does switch on as soon as one of the thermostats switches on, but switching off the group does not work. When the last thermostat switches off, the group remains switched on. The only way to disable the group is manually.
(the option “all entities” in the group is switched off)
Not sure where that assumption is coming from. Your example above is the only one using the switch group, so I’d assume it’s that being used and it’s working fine after removing the pump switch from the group, which was causing a circular reference of sorts.