Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Refresh Channels to be done during standby as well as active #68

Merged
merged 1 commit into from
Mar 12, 2022
Merged

Conversation

RogerSelwyn
Copy link
Contributor

I'm getting spurious 404 errors from the load_source_list logic in pySonyBraviaPSK.

There seems to have been some change in either HA or Sony firmware which is causing more error conditions (possibly race conditions) from the TV. You will see the proposal I have put in for pySonyBraviaPSK as well.

The challenge here is that channel refresh is a one time operation, currently when TV is active and when HA has been restarted. Quite often this will be the first time the TV has been switched on after an HA restart.

The idea of this change is to reduce the risk of a race condition (where the channel info is requested when the TV is busy switching on), since the channel list info is also available when the TV is is standby (or at least on my 2021 model it is).

I'm getting spurious 404 errors from the load_source_list logic in pySonyBraviaPSK. More detail in the PR.
@gerard33
Copy link
Member

Thanks!

@gerard33 gerard33 merged commit 3f582b4 into custom-components:master Mar 12, 2022
@RogerSelwyn RogerSelwyn deleted the patch-1 branch March 27, 2022 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants