Refactor ZHA listeners into channels (#21196)

* refactor listeners to channels

* update coveragerc
This commit is contained in:
David F. Mulcahey authored and Paulus Schoutsen committed 2019-02-20 08:57:50 -08:00
1 parent d09cf8dd17
commit 9057da01bd
28 files changed
+1037 -899

No files matched your search

+3 -3
View File
@@ -7,8 +7,8 @@ from homeassistant.components.zha.core.const import (
)
from homeassistant.components.zha.core.gateway import ZHAGateway
from homeassistant.components.zha.core.gateway import establish_device_mappings
from homeassistant.components.zha.core.listeners \
import populate_listener_registry
from homeassistant.components.zha.core.channels.registry \
import populate_channel_registry
from .common import async_setup_entry
@@ -28,7 +28,7 @@ def zha_gateway_fixture(hass):
Create a ZHAGateway object that can be used to interact with as if we
had a real zigbee network running.
"""
populate_listener_registry()
populate_channel_registry()
establish_device_mappings()
for component in COMPONENTS:
hass.data[DATA_ZHA][component] = (