mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
better detect legacy eagly devices (#55706)
This commit is contained in:
parent
7aa454231f
commit
10317fba17
@ -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