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.71k stars 30.83k forks source link

HomeKit Lamp device entities does not update #130763

Open jopacar1 opened 3 hours ago

jopacar1 commented 3 hours ago

The problem

I have two "Xiaomi Mi Smart LED Desk Lamp Pro" which integrate as HomeKit devices with Home Assistant.

The lamps' state (on/off) doesn't update in HomeAssistant when I switch them on/off manually using the button in the lamp. The only way I have found to update it is to reload the homekit integration.

On the other hand, if I operate the lamps through HA, everything works as expected and the on/off state is updated whenever I change it using HA.

Same behaviour in the two lamps. It used to work fine. I don't know which update broke this part of the integration.

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

integration: homekit_controller

Link to integration documentation on our website

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

Diagnostics information

home-assistant_homekit_controller_2024-11-16T14-36-21.487Z.log homekit_controller-17bf23f7920110231a6a26ad3605ee43-MiDeskLampPro-71E8-382e2bd62fdcc7d8893ad29ed2ef84d2 (1).json

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 hours ago

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

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


homekit_controller documentation homekit_controller source (message by IssueLinks)