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

Logbook entries repeatedly reporting entities as unavailable #736

Closed
billraff opened this issue Oct 9, 2023 · 6 comments
Closed

Logbook entries repeatedly reporting entities as unavailable #736

billraff opened this issue Oct 9, 2023 · 6 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@billraff
Copy link

billraff commented Oct 9, 2023

I installed this integration yesterday and have observed that every few minutes (not correlated to the polling setting in seconds as best I can tell) the entire collection of entities becomes unavailable and then returns. I can watch this happen -

Screenshot 2023-10-09 at 9 22 19 AM Screenshot 2023-10-09 at 9 24 04 AM

What could be causing this behavior? I assume it's on my side since I didn't see any issues describing this. My goal was to create an automation or two but if the automation were to try to run when the entities are unavailable it would fail.

@alandtse alandtse added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Oct 9, 2023
@purcell-lab
Copy link
Contributor

It would be really helpful if you could add the debug log to this issue, so we can see what the logs are reporting.

You can enable debugging from the integration tile.

Screenshot 2023-10-10 09 22 05

@billraff
Copy link
Author

I enabled the debug in the integration while the sensors were showing as available. Waited for them to become unavailable and then return to normal. Only took a few minutes. Is the debug log its own file somewhere or is it written to the home-assistant.log?

@purcell-lab
Copy link
Contributor

Is the debug log its own file somewhere or is it written to the home-assistant.log?

When you switch off debug, it should download the debug file to your browser.

The details are also available in your home-assistant.log

@billraff
Copy link
Author

billraff commented Oct 10, 2023

Attaching log file.
home-assistant_tesla_custom_2023-10-10T10-50-59.083Z.log

Re-attached log file without address and other personal information.

@alandtse
Copy link
Owner

The logs are saying there's a connection error.
httpcore.ConnectError: All connection attempts failed
That typically indicate an error outside of the component. It could be the hardware, network connection, or your ISP. You will note that homeassistant.components.openweathermap.weather_update_coordinator also had trouble with the connection.

That said, at the end it appears to have resolved itself. But at this point, the logs don't show anything we can resolve.

@billraff
Copy link
Author

Thank you for looking at the log. I'll do some digging on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants