Refactor ZHA EventChannels (#32709)

* Refactor EventChannels.

* Rename EventRelayChannel.

* Fully rename EventRelayChannel.

- update docstrings
- rename all references from "relay" to "client"

* Remove CHANNEL_NAME.

* Update stale docstring.
This commit is contained in:
Alexei Chetroi authored and GitHub committed 2020-03-21 19:59:32 -04:00
1 parent d5e606640c
commit 991afccbd4
10 files changed
+62 -40

No files matched your search

+1 -1
View File
@@ -172,7 +172,7 @@ async def test_if_fires_on_event(hass, mock_devices, calls):
await hass.async_block_till_done()
channel = zha_device.channels.pools[0].relay_channels["1:0x0006"]
channel = zha_device.channels.pools[0].client_channels["1:0x0006"]
channel.zha_send_event(COMMAND_SINGLE, [])
await hass.async_block_till_done()