The heating is on, everywhere that has been demanding heat has been brought up to set point.
As the last status changes on the last Thermostat Controller the Change activates the Rule, it confirms all the Thermostat Controllers Are Idle, as in the Dashboard above, then turns off the Heating - Radiators.
Is there a better way to trap Idle state of All the Thermostat Controllers to turn off the heating?
I'm unclear what you're trying to accomplish. Do you have multiple thermostats that can already control the boiler, or are you trying to control multiple radiators with the status of all thermostats (which also makes no sense to me).
If you have dumb thermostats which you can somehow get the temp from and nothing else, or you are using multiple temp sensors around the house to simulate remote thermostat sensors to control a central thermostat, then use the Thermostat Controller app. Documentation hasn't been added for it yet, but there's a post on how it works.
You can add multiple sensors to control a single virtual thermostat. That could then toggle heat on or off with a simple rule if your heating only has on/off control.
Actually, the action is correct as-is: it's a simple conditional. These one-liners don't need (in fact, can't use) and END-IF. It just happens to be very long, so it might not look like one. The way to tell after the fact is that simple conditionals appear in the actions list as just an IF, whereas "full" conditionals show as IF THEN.
I have multiple TRV, eurotronic Spirit TRVs.
The TRV cannot control the central heating boiler.
There is no way for a radiator to control the boiler. This has to be achieved by an external agent, in this case, HE.
Every room has one or more temp sensors
All are in HE.
These TRVs report the temperature at the Valve Head, but are not fit to manage room temp, too close to the radiator.
A Thermostat Controller is Created for each TRV, it links the room TRV and the room temp sensor(s).
All the TRVs make up 7 heating Zones, each of which is controlled by a Thermostat Scheduler.
Now all is required are rules to turn on/off the central heating boiler.
One Rule, detects if any of the Thermostat Controllers State changes to heating, and turns the heating On.
Another Rule, detects if ALL of the Thermostat Controllers state is Idle and turns OFF the heating.
Shouldn’t be difficult been doing this for several years.
If HE has a better way to do it, I would appreciate insights
@habitat try changing the trigger to Idle, rather than changed, as that's all you're looking for anyway. Also turn on logging on the rule and paste a screenshot of the logs. Then make a device go from heating to idle.
My point was that if you check your screenshot carefully, the rule is working fine. Not all your devices were idle. That's why it says "false". I don't see anything wrong with the rule or how it's operating. Are you sure you saw it say 'true' and still it didn't activate?