I am trying to create a virtual device for a motion sensor using the template for the Z-wave motion sensor. However, when publishing it, in my phone I am not able to change the state of the motion sensor as we can do for a switch.
Is there something I am missing? Do I need to add a switch capability to the motion sensor device handler to change its state to active or inactive?
I will really appreciate the help.