Setting a device capability value from app.js

Hi I have moved this thread to the develoeprs forum where you will get a better response.

Also :

this.setCapabilityValue('alarm_motion', false).catch(this.error);