Open Peter-HVD opened 4 months ago
I just had the same experience. It brings the lights into HA, but they show unavailable. My lights are on a separate network from my hoes assistant server. Is there a UDP port that needs to be opened for discovery?
Same issue, found this in the debug logs.
custom integration 'aidot' accesses hass.helpers.aiohttp_client. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from aiohttp_client directly at custom_components/aidot/config_flow.py, line 66: self.login_response = await self.__login_control.async_post_login(, please report it to the author of the 'aidot' custom integration
Same issue, found this in the debug logs.
custom integration 'aidot' accesses hass.helpers.aiohttp_client. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from aiohttp_client directly at custom_components/aidot/config_flow.py, line 66: self.login_response = await self.__login_control.async_post_login(, please report it to the author of the 'aidot' custom integration
Thanks to the hint from the above error message, I was able to get this working by adding the following import line to config_flow.py
:
from homeassistant.helpers.aiohttp_client import Any
Loaded into my HA and works great.
@raquii Which line did you change?
I added the import line in my previous comment to line 13 of config_flow.py
@raquii Thanks for the help!
Stumbled upon this by accident and thought I'd try it with more than a little optimism.
Installed perfectly well by adding this github as a custom repository. Connected to my AiDot account, recognised my bulbs and allowed me to add them. That's where the optimism ended.
Although the bulbs register their state change when changed in the AiDot app, as soon as they do they then become unavailable in Home Assistant.