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

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

No files matched your search

+2 -3
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):