Pretty strange question, but anyway.
The goal is to turn off smartplug if there’s no motion detected for X minutes.
I’m using “new” ST app (not classic one).
New automation rule:
If the smart plug is on
no motion is detected for X minutes
it’s needed to turn off the smart plug, but it’s impossible to choose this device during this step.
Seems like it’s impossible to set the state of a device depending on its condition.
Is it possible to get it working?
Or maybe I’m just on the wrong way?