Can you describe a bit more what you want to do? Heating plan is a thing that can be interpreted in various ways…
Btw, I’ve played a bit with the presence stuff (to control lighting, but it’s the same basic function as one interpretation of heating plan).
I found that using Presence directly to control automations was next to useless, as everything I wanted to do was in the category “if someone is home” or “if no one is home”…
I ended up doing an “Anybody home?” virtual switch that I use in all those automations in one way or another, trigging on time or sun up/down with anybody-home conditions, usually activating scenes.
To control the “Anybody home?” state I had to do two automations, one that flips it on if anyone comes home (added all people), and one that flips it off if no one is home.
The no-one-is-home one became a bit silly: Add all users as “WHEN Presence X leaves home OR Presence Y leaves home”, then add everyone again as “AND Presence X is away, Presence Y is away” with the final action to turn off the anybody-home switch.
Currently the actual Presence detection seems a bit flakey, but I guess that it’s as simple as Android power-saving the app as soon as the phone is locked. If Presence is implemented as the Heart periodically trying to speak to the app in the phone it would explain that the Presence state gets unset even though that person is home. I’ll look into the app power save settings any year now