The Working from home use case is a PITA!!! I have scedules setup on my Ecobee and Hubitat modes switch the Ecobee to Away and hold until I change (Hubitat=Away) or Resume (Hubitat=Home).
But Working from Home is a special kind of exception. In this case I want to set the Ecobee to Home mode when I'm present and the Ecobee schedule thinks "I should be Away".
If I am not present when Ecobee schedule changes to Away then I've missed to opportunity to set the Ecobee to Home and hold. I feel like the Working from Home helper could benefit from subscribing to presence changes, Ecobee mode changes, and Hubitat mode changes. If any one of those change then it fires the rule to evaluate the state. If one of the presence devices is present, then check to see if the Schedule thinks I should be Away, if both are true then set Ecobee to Home and hold until next program change.
I don't think this is possible with the current helper. Could it be an enhancement to the Working from Home helper?
Or is it possible with Rule Machine? For RM, what variable would I need to check in order find out the scheduled setting? And which action is needed to turn on Home mode and hold until next program change?
Thank you in advance.