home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.74k stars 28.91k forks source link

Daikin AC Integration Incorrectly Handles DNS Names in Host Field #114735

Open iainchesworth opened 3 months ago

iainchesworth commented 3 months ago

The problem

When configuring the Daikin AC integration to work with a Daikin AirBase BRP15B61 (firmware 1.2.1), the user is asked to provide the host as a mandatory field upon inital configuration or adding an entry.

Works -> Using an IP address such as 192.168.1.179 Does Not Work -> Using a DNS name such as daikin-adapter.my-local-dns.com

On clicking submit with the host field set to the appropriate DNS name, an "Invalid Authentication" error is returned. If the IP address is used in the host field , clicking submit will work fine and the integration adds that entry.

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Daikin AC

Link to integration documentation on our website

https://www.home-assistant.io/integrations/daikin/

Diagnostics information

home-assistant_daikin_2024-04-03T10-59-49.649Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 3 months ago

Hey there @fredrike, mind taking a look at this issue as it has been labeled with an integration (daikin) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `daikin` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign daikin` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


daikin documentation daikin source (message by IssueLinks)

fredrike commented 1 month ago

@kingy444 would you like to take a look at this?