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.34k stars 29.88k forks source link

Samsung TV Integration turns on TV when it shouldn't #125781

Open dapowers87 opened 6 days ago

dapowers87 commented 6 days ago

The problem

I have noticed that if I turn off my TV then call remote.turn_off very shortly after, it will cause the TV to turn back on.

I timed how long it took for the UI to report the TV as off when turned off via my physical remote. I refreshed every second and it showed as off after 47 seconds.

I see there have been attempts to mitigate this problem with a five second delay SCAN_INTERVAL_PLUS_OFF_TIME as well as forcing the UI to show the TV as off immediately which prevents a subsequent remote.turn_off call from producing the same issue.

I may take up this ticket but in case I don't get time, I'm creating this ticket with my findings.

What version of Home Assistant Core has the issue?

2024.9.1

What was the last working version of Home Assistant Core?

never

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Samsung Smart TV

Link to integration documentation on our website

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

Diagnostics information

config_entry-samsungtv-16591a6cc9ab8dda4a4611adf3ed7316.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 6 days ago

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

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


samsungtv documentation samsungtv source (message by IssueLinks)