1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Revert partial changes to deCONZ integration from earlier PR (#41943)

This commit is contained in:
Robert Svensson
2020-10-16 14:38:12 +02:00
committed by GitHub
parent 23b3db08f3
commit 85ccff28cd
3 changed files with 4 additions and 9 deletions

View File

@@ -113,9 +113,8 @@ async def test_gateway_setup_fails(hass):
with patch(
"homeassistant.components.deconz.gateway.get_gateway", side_effect=Exception
):
config_entry = await setup_deconz_integration(hass)
gateway = get_gateway_from_config_entry(hass, config_entry)
assert gateway is None
await setup_deconz_integration(hass)
assert not hass.data[deconz.DOMAIN]
async def test_connection_status_signalling(hass):