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

unhandled error #475

Open
gjaegy opened this issue Aug 12, 2024 · 0 comments
Open

unhandled error #475

gjaegy opened this issue Aug 12, 2024 · 0 comments

Comments

@gjaegy
Copy link

gjaegy commented Aug 12, 2024

Hi,

I'm not sure if that's the correct place to post, however, looking at the callstack, I guess it might be. If not please simply ignore my message.

I'm facing a problem where my automation stops randomly, when a command can't be issued for whatever reason (in most cases, rare random network issue/time out).

See the following post for a description of the original problem, as well as some answer describing the reason of the automation stopping, despite using the "continue_on_error" option for my action call:

home-assistant/core#123296

In a nutshell, the reason of "continue_on_error" not working is due to some exception not being handled. From what I've understood (could be wrong), the library should catch the http exception, and raise a defined exception when caught.

This is explained in the following HA core issue answer : alandtse/tesla#1015

I'm using https://github.com/alandtse however it seems this library uses teslajsonpy under the hood, so I'm not fully sure at what level this should be fixed (I'm not familiar with HA development I must admit).

Any idea how this could be fixed ?

Thanks a lot !!

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

No branches or pull requests

1 participant