Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dans le __init__ du plugin:
- self.log.info(u"==> Add callback for new or changed devices.")
- self.register_cb_update_devices(self.myHandleDeviceUpdate)
- La fonction callback:
- def myHandleDeviceUpdate(self, devices):
- self.log.info(u"==> DeviceUpdate: %s" % format(devices))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement