LIFX: avoid "Unable to remove unknown listener" warning (#7235)
Forget the cancelled update handler so it is not cancelled a second time later on (if when <= BULB_LATENCY) and thus invoking the warning.
This commit is contained in:
1 parent
b6a4a0d9af
commit
91b8eea6ad
1 file changed
+1
@@ -256,6 +256,7 @@ class LIFXLight(Light):
|
||||
|
||||
if self.postponed_update:
|
||||
self.postponed_update()
|
||||
self.postponed_update = None
|
||||
if when > BULB_LATENCY:
|
||||
self.postponed_update = async_track_point_in_utc_time(
|
||||
self.hass, self.update_after_transition,
|
||||
|
||||
Reference in new issue
Block a user