From 10317fba17f4718c204481226f1e478286512abe Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 4 Sep 2021 00:23:35 -0700 Subject: [PATCH] better detect legacy eagly devices (#55706) --- homeassistant/components/rainforest_eagle/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/rainforest_eagle/data.py b/homeassistant/components/rainforest_eagle/data.py index 76ddb2d25d7..70c2bddb4b3 100644 --- a/homeassistant/components/rainforest_eagle/data.py +++ b/homeassistant/components/rainforest_eagle/data.py @@ -54,7 +54,7 @@ async def async_get_type(hass, cloud_id, install_code, host): meters = await hub.get_device_list() except aioeagle.BadAuth as err: raise InvalidAuth from err - except aiohttp.ClientError: + except (KeyError, aiohttp.ClientError): # This can happen if it's an eagle-100 meters = None