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
73.74k stars 30.85k forks source link

[bug] SMLIGHT Integration fails if password for SMLIGHT device is set #127057

Closed Silther closed 1 month ago

Silther commented 1 month ago

The problem

If you enable web server authentication in the web config of your SMLIGHT device the integration stops working.

What version of Home Assistant Core has the issue?

core-2024.9.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

SMLIGHT

Link to integration documentation on our website

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

Diagnostics information

maybe a debug log helps

home-assistant_smlight_2024-09-29T20-52-02.421Z.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 1 month ago

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

Code owner commands Code owners of `smlight` 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 smlight` 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)


smlight documentation smlight source (message by IssueLinks)

tl-sl commented 1 month ago

Re-authentication flow was added in 2024.10 you can test it now in the beta channel.

For 2024.9.3 it should work with authentication, but you might need to remove device from integration and setup again.

Silther commented 1 month ago

Thanks, after removing and readding them it works like a charm