Cleanup zha listener lifecycle (#20789)

This commit is contained in:
David F. Mulcahey 2019-02-07 03:23:01 -05:00 committed by Martin Hjelmare
parent 03ab152c82
commit d4c34c6b02
9 changed files with 2 additions and 39 deletions

View file

@ -103,7 +103,6 @@ async def async_build_devices(hass, zha_gateway, config_entry, cluster_ids):
# load up sensor domain
await hass.config_entries.async_forward_entry_setup(
config_entry, DOMAIN)
await zha_gateway.accept_zigbee_messages({})
await hass.async_block_till_done()
# put the other relevant info in the device info dict