Update device.py

With this change, callback from the WEMO MOTION are working again. 

I have read about this change from this guy: https://github.com/GuoJing/homehue