jheling / freeathome

Free@Home component for Home Assistant
103 stars 37 forks source link

Deprecation warning discovery_info['host'] #126

Closed derjoerg closed 2 years ago

derjoerg commented 2 years ago

Hi,

I see the following warning in HA-Logs

Detected integration that accessed discovery_info['host'] instead of discovery_info.host; this will fail in version 2022.6. Please report issue to the custom component author for freeathome using this method at custom_components/freeathome/config_flow.py, line 55: await self.async_set_unique_id(zeroconf_info["host"])

2022.6 will arrive "soon".

DarkTempIar commented 2 years ago

Same here, still no reaction from code owner :(

EnricoBilla commented 2 years ago

I opened #128, the problem is fixed. Can you confirm it's working?

derjoerg commented 2 years ago

It is working as expected :)