mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Address post merge review changes in upnp (#122189)
Post merge review change
This commit is contained in:
parent
419bf0165a
commit
d3029af888
@ -40,7 +40,6 @@ class UpnpDataUpdateCoordinator(
|
||||
|
||||
def register_entity(self, key: str, entity_id: str) -> Callable[[], None]:
|
||||
"""Register an entity."""
|
||||
# self._entities.append(entity)
|
||||
self._features_by_entity_id[key].add(entity_id)
|
||||
|
||||
def unregister_entity() -> None:
|
||||
@ -59,7 +58,7 @@ class UpnpDataUpdateCoordinator(
|
||||
# Must be the first update, no entities attached/enabled yet.
|
||||
return None
|
||||
|
||||
return list(self._features_by_entity_id.keys())
|
||||
return list(self._features_by_entity_id)
|
||||
|
||||
async def _async_update_data(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user