def client(hass, hass_ws_client): """Fixture that can interact with the config manager API.""" hass.loop.run_until_complete(device_registry.async_setup(hass)) yield hass.loop.run_until_complete(hass_ws_client(hass))
def client(hass, hass_ws_client): """Fixture that can interact with the config manager API.""" hass.loop.run_until_complete(device_registry.async_setup(hass)) yield hass.loop.run_until_complete(hass_ws_client(hass))