Handle somfy error 404 during setup (#41298)

This commit is contained in:
Thibaut authored and GitHub committed 2020-10-06 15:02:03 +02:00
1 parent 8bcd6c1880
commit 61f919b18c
1 file changed
+1
@@ -89,6 +89,7 @@ async def async_setup_entry(hass: HomeAssistantType, entry: ConfigEntry):
)
hass.data[DOMAIN][API] = api.ConfigEntrySomfyApi(hass, entry, implementation)
hass.data[DOMAIN][DEVICES] = []
await update_all_devices(hass)