Does this work now? What version of OH are you running? I’ve a canary rule set up in my setup that is supposed to tell me which this gets fixed and it has never fired. I’m on 2.2 release.
At least up to 2.2 release, only enum types (e.g. ON/OFF, OPEN/CLOSED, etc) can be used with changed to or received command or received update.
In answer to your original question: Generic Presence Detection
which is basically what Vincent recommends with some more explanation.