Error activating Virtual Motion Sensor?

Hi,

When using the .active() on the "Virtual Motion Sensor" either from an App or directly hitting the Active button on the Device page I get this error:

[dev:93](http://192.168.X.X/logs#dev93)2018-11-26 01:08:45.000 am [error](http://192.168.X.X/device/edit/93)groovy.lang.MissingMethodException: No signature of method: java.util.ArrayList.toInteger() is applicable for argument types: () values: [] Possible solutions: toUnique(), toUnique() (active)

Inactive works fine and for "Virtual Contact Sensor" Open and Close works too so I would assume this one should...

Thanks!

I'm not seeing this issue with the driver itself

1 Like

Thanks for checking!

I just created one myself and worked fine too, should have tried this before. Comparing them noticed the one giving trouble said "Click to Set" on the "Auto Inactive" preference, I set that to Disabled and its now working fine!

This device is being created by the Envisalink app from @doug, I guess its missing some code to initialize that preference when creating the device?