Restructure WLED integration (#51667)

This commit is contained in:
Franck Nijhof 2021-06-09 20:15:46 +02:00 committed by GitHub
parent c512e1df3c
commit 332c86ff8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 145 additions and 123 deletions

View file

@ -11,7 +11,10 @@ from tests.components.wled import init_integration
from tests.test_util.aiohttp import AiohttpClientMocker
@patch("homeassistant.components.wled.WLED.update", side_effect=WLEDConnectionError)
@patch(
"homeassistant.components.wled.coordinator.WLED.update",
side_effect=WLEDConnectionError,
)
async def test_config_entry_not_ready(
mock_update: MagicMock, hass: HomeAssistant, aioclient_mock: AiohttpClientMocker
) -> None: