diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 121e210a0a0..e5feedd8421 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -149,7 +149,8 @@ class RuntimeEntryData: def _attr_obj_from_dict(cls, **kwargs): - return cls(**{key: kwargs[key] for key in attr.fields_dict(cls)}) + return cls(**{key: kwargs[key] for key in attr.fields_dict(cls) + if key in kwargs}) async def async_setup(hass: HomeAssistantType, config: ConfigType) -> bool: diff --git a/homeassistant/components/esphome/manifest.json b/homeassistant/components/esphome/manifest.json index 734544b49c7..9d25ec6d034 100644 --- a/homeassistant/components/esphome/manifest.json +++ b/homeassistant/components/esphome/manifest.json @@ -3,7 +3,7 @@ "name": "ESPHome", "documentation": "https://www.home-assistant.io/components/esphome", "requirements": [ - "aioesphomeapi==2.0.0" + "aioesphomeapi==2.0.1" ], "dependencies": [], "codeowners": [ diff --git a/requirements_all.txt b/requirements_all.txt index 5810fb5e82e..2b627b5f77b 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -112,7 +112,7 @@ aiobotocore==0.10.2 aiodns==1.1.1 # homeassistant.components.esphome -aioesphomeapi==2.0.0 +aioesphomeapi==2.0.1 # homeassistant.components.freebox aiofreepybox==0.0.8