1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Fix ESPHome setup errors in beta (#23242)

* Fix ESPHome setup errors in beta

* Update requirements_all.txt
This commit is contained in:
Otto Winter
2019-04-22 21:13:21 +02:00
committed by Paulus Schoutsen
parent 8daba68dc1
commit 0c90bfb936
3 changed files with 4 additions and 3 deletions

View File

@@ -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: