Replace rfxtrx entity events with integration events (#37565)

* Drop per entity events

* Correct linting error

* Drop keys()
This commit is contained in:
Joakim Plate authored and GitHub committed 2020-07-13 02:57:19 +02:00
1 parent d3b47b6d89
commit 87f6b7cdd4
14 files changed
+132 -183

No files matched your search

+1
View File
@@ -117,6 +117,7 @@ async def test_discover_switch(hass, rfxtrx):
{"rfxtrx": {"device": "abcd", "dummy": True, "automatic_add": True}},
)
await hass.async_block_till_done()
await hass.async_start()
await _signal_event(hass, "0b1100100118cdea02010f70")
state = hass.states.get("switch.ac_118cdea_2")