Cleanup zha listener lifecycle (#20789)
This commit is contained in:
1 parent
03ab152c82
commit
d4c34c6b02
9 files changed
+2
-39
No files matched your search
@@ -170,10 +170,6 @@ class ZHADevice:
|
||||
await self._execute_listener_tasks('async_initialize', from_cache)
|
||||
_LOGGER.debug('%s: completed initialization', self.name)
|
||||
|
||||
async def async_accept_messages(self):
|
||||
"""Start accepting messages from the zigbee network."""
|
||||
await self._execute_listener_tasks('accept_messages')
|
||||
|
||||
async def _execute_listener_tasks(self, task_name, *args):
|
||||
"""Gather and execute a set of listener tasks."""
|
||||
listener_tasks = []
|
||||
|
||||
Reference in new issue
Block a user