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

Android TV integration with endless connection attempts (device powered off) which fills log #72851

Closed
bcutter opened this issue Jun 1, 2022 · 3 comments

Comments

@bcutter
Copy link

bcutter commented Jun 1, 2022

The problem

See #69672, everything said.

It was closed with the last comment

Yes make sense. When HA start need to initialize integration and if cannot connect to device the initialization fails and is retried automatically in background by HA. In this case because the object library is initialized on every retry, it doesn't know that previous connection failed and so it cannot suppress the log. But honestly there is no way to fix this at integration side, you should open a ticket in library repo explaining the issue.

I did so and created JeffLIrion/python-androidtv#320. There they played the ball back to Home Assistant with:

As long as HA continues to call setup with log_errors=True, this package will continue to log failed setup attempts. This should be fixed in HA.

So please guys, work together to finally find a solution for this.

What version of Home Assistant Core has the issue?

core-2022.4.7

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

Android TV

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

See https://github.com/home-assistant/core/issues/69672 and https://github.com/JeffLIrion/python-androidtv/issues/320.

Additional information

No response

@probot-home-assistant
Copy link

androidtv documentation
androidtv source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @JeffLIrion, @ollo69, mind taking a look at this issue as it has been labeled with an integration (androidtv) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@bcutter
Copy link
Author

bcutter commented Jul 8, 2022

What means "completed"?

Is completed defined as "no response for one month"?!?

🧐

Reopen this! Thank you.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant