mirror of
https://github.com/home-assistant/core.git
synced 2025-07-29 16:17:20 +00:00
better detect legacy eagly devices (#55706)
This commit is contained in:
parent
e3405d226a
commit
a37c3af2b4
@ -54,7 +54,7 @@ async def async_get_type(hass, cloud_id, install_code, host):
|
|||||||
meters = await hub.get_device_list()
|
meters = await hub.get_device_list()
|
||||||
except aioeagle.BadAuth as err:
|
except aioeagle.BadAuth as err:
|
||||||
raise InvalidAuth from err
|
raise InvalidAuth from err
|
||||||
except aiohttp.ClientError:
|
except (KeyError, aiohttp.ClientError):
|
||||||
# This can happen if it's an eagle-100
|
# This can happen if it's an eagle-100
|
||||||
meters = None
|
meters = None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user