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
71.15k stars 29.83k forks source link

Daikin integration stopped working after upgrade to 2024.8.1 #123897

Closed menloperk closed 1 month ago

menloperk commented 1 month ago

The problem

Daikin integration completely stopped working

What version of Home Assistant Core has the issue?

2024.8.1

What was the last working version of Home Assistant Core?

2024.7.3

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Daikin

Link to integration documentation on our website

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

Diagnostics information

We got a couple of Daikin airco's that have been working flawlessly ever since I started using HA 2-3 years ago. Today, after an upgrade to 2024.8.1 all of them stopped working. The visible error message in the integrations reads:

Failed to set up: Check the logs

When checking the logs I see two errors related to Daikin integration. See below for these...

Example YAML snippet

No response

Anything in the logs that might be useful for us?

First error I see is this one:

Logger: homeassistant.components.daikin
Source: components/daikin/__init__.py:99
integration: Daikin AC (documentation, issues)
First occurred: 1:01:51 PM (6 occurrences)
Last logged: 1:01:51 PM

Unexpected error creating device 192.168.1.175
Unexpected error creating device 192.168.1.172
Unexpected error creating device 192.168.1.173
Unexpected error creating device 192.168.1.174
Unexpected error creating device 192.168.1.176

And then second:

Logger: pydaikin.daikin_base
Source: components/daikin/__init__.py:88
First occurred: 1:01:51 PM (6 occurrences)
Last logged: 1:01:51 PM

Exception in TaskGroup: 'DaikinBRP069' object has no attribute 'headers'

Additional information

No response

home-assistant[bot] commented 1 month 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)

ggranvik commented 1 month ago

I just deleted the integration, since my AC had lost connection with the home network. After having got it back online via the Daikin app, HA discovered the unit, with the correct IP address. Selecting configure and pressing send (IP address is already filled in) only results in an "unexpected error" message however. It's a unit with built in WiFi adapter, with no local API, so the configuration only wants the IP address, and not any API key or password.

joostlek commented 1 month ago

Fixed by #123623