1) Give a description of the problem
How can I use the motion sensor in the Ecobee4 thermostat to trigger a piston?
2) What is the expected behavior?
When someone is in the room where the thermostat is installed, then the condition evaluates to true. When someone enters the room where the thermostat is installed, then the event triggers.
3) What is happening/not happening?
I can do this with the Ecobee4 room sensor, but not with the Ecobee4 thermostat itself.