diff --git a/devices/protocols/Yeelight/xaal/yeelight/devices.py b/devices/protocols/Yeelight/xaal/yeelight/devices.py index 68bd4e72c4e5632c9e95893892479e9055ced061..edc37936c6b7b999218f13424f8db4848c886e43 100644 --- a/devices/protocols/Yeelight/xaal/yeelight/devices.py +++ b/devices/protocols/Yeelight/xaal/yeelight/devices.py @@ -49,8 +49,8 @@ class YeelightDev(object): self.setup() self.set_xaal() logger.info(f"New device at {bulb._ip} : {self.addr}") - # It's safer to use a lock to avoid the socket to be used w/ 2 greenlets at the same time. - # This can occurs on the device refresh + # It's safer to use a lock to avoid the socket to be used w/ 2 + # greenlets at the same time. This can occurs on the device refresh self.lock = gevent.lock.BoundedSemaphore(1) # self.bulb.start_music()