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.03k stars 28.27k forks source link

YoLink Plug status change not working in Core 2024.5.1 #116799

Open jsdray opened 1 week ago

jsdray commented 1 week ago

The problem

I skipped Core 2024.5.0 and went straight to Core 2024.5.1 Today I discovered my YoLink smart plug status does not update in HA. I can control and status from HA but if controlled from Alexa or from YoLink app, the HA status does not update. I have multiple YoLink plugs and they all have the same issue. The odd thing to me is that my YoLink door/window sensors update just fine. I've tried rebooting HA, and reloading the integration. Reloading the integration does force a status update, but does not resolve the issue.

What version of Home Assistant Core has the issue?

2025.5.1

What was the last working version of Home Assistant Core?

2024.4.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

YoLink

Link to integration documentation on our website

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

Diagnostics information

No response

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

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

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


yolink documentation yolink source (message by IssueLinks)

Shadow-DAVE commented 1 week ago

I'm on Core 2024.4.3 and my Yolink Motion sensors and Vibration sensors DO NOT update HA. My other Yolink Sensors DO update HA: Contact Sensors, Light switch. All items update via the Yolink app. I wonder if Yolink's API is restricting some of their sensors to HA?

matrixd2 commented 1 week ago

If the device is controlled via APP or API, there will be a delay in HA status update. I'm dealing with this issue.

Cirehtims commented 1 week ago

I do have the same problem. Core 2024.4.4 Supervisor 2024.04.4 Operating System 12.2 Frontend 20240404.2 Thanks for your work.

escobarin3 commented 3 days ago

For me it, stopped working with update 2024.5.3.. Had to rollback to 2024.5.2

Shadow-DAVE commented 3 days ago

I updated to 2024.5.3 over the weekend and a few days ago my Yolink Outdoor Contact sensor, Motion Sensor, and Vibration Sensors all started reporting their statuses to HA. All my automations that relied on them are now working again.