We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e436cf commit 3f395e7Copy full SHA for 3f395e7
intg-androidtv/driver.py
@@ -333,7 +333,7 @@ def on_device_removed(device: config.AtvDevice | None) -> None:
333
else:
334
if device.id in _configured_android_tvs:
335
_LOG.debug("Disconnecting from removed ATV %s", device.id)
336
- atv = _configured_android_tvs[device.id]
+ atv = _configured_android_tvs.pop(device.id)
337
atv.disconnect()
338
atv.events.remove_all_listeners()
339
# TODO #14 map entity IDs from device identifier
0 commit comments