mirror of
https://github.com/home-assistant/core.git
synced 2026-05-19 23:10:15 +01:00
ab4687d914
* Rework and re-enable rfxtrx tests * Add missed change to _signal_event * Fixup the dummy serial that causes max cpu * Make sure we cleanup thread here too * Make sure we always wait for tasks before we check state * Some more places we need to wait before checking
7 lines
203 B
Python
7 lines
203 B
Python
"""Tests for the rfxtrx component."""
|
|
from homeassistant.components import rfxtrx
|
|
|
|
|
|
async def _signal_event(hass, event):
|
|
await hass.async_add_executor_job(rfxtrx.RECEIVED_EVT_SUBSCRIBERS[0], event)
|