Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Error Adding Daikin AC #126

Closed
aftertommy opened this issue Mar 3, 2023 · 2 comments
Closed

Unknown Error Adding Daikin AC #126

aftertommy opened this issue Mar 3, 2023 · 2 comments

Comments

@aftertommy
Copy link

I am moving my HASS setup over to a Home Assistant Yellow, starting from scratch.

I'm having some issues adding my air conditioner units, which is strange as they've been working on my previous (docker based) setup. In the attached logs, I'm attempting to add the AC at IP address 192.168.40.127 and another at 192.168.40.121. In the 127 case, I get an "Unknown Error Occurred" error. For the 121 AC, the configuration UI remains unresponsive with a spinner.

For whatever it's worth, I can add other air conditioners to my setup, but these two are giving me issues.
home-assistant_2023-03-03T12-27-44.625Z.log

@nao-pon
Copy link
Collaborator

nao-pon commented Mar 8, 2023

@aftertommy It seems that you need to do a key check for the error in echonetlite/config_flow.py, line 214.

Try changing config_flow.py, line 214 to the following and restarting HA.

         if len(_detected_hosts):

to

         if len(_detected_hosts) and self.host in _detected_hosts.keys():

nao-pon added a commit that referenced this issue Apr 14, 2023
Check for existence before removing dictionary keys with pop
@nao-pon
Copy link
Collaborator

nao-pon commented May 23, 2023

Probably, I think that it was fixed in Version 3.7.3.

@nao-pon nao-pon closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants