Cleanup zha listener lifecycle (#20789)
This commit is contained in:
parent
03ab152c82
commit
d4c34c6b02
9 changed files with 2 additions and 39 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue