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

Support for Home Assistant Scripts continue_on_error #641

Open
danielg88 opened this issue Nov 13, 2023 · 3 comments
Open

Support for Home Assistant Scripts continue_on_error #641

danielg88 opened this issue Nov 13, 2023 · 3 comments

Comments

@danielg88
Copy link

Is your feature request related to a problem? Please describe.
In Home Assistant I have an automation that turns on/off the water heater at a certain time. Sometimes the automation fails from what I guess is a timeout when calling LG API, the problem is that after one step in the automation fails the whole execution stops and nothing else will be run.

Describe the solution you'd like
Support for Home Assistant script syntax continue_on_error.

I tried adding continue_on_error to the step that turns on/off the water heater, so if it fails the automation can continue but the problem stills persists. Looks like the integration is not compatible with continue_on_erorr

It seems that the integration must raise HomeAssistantError for the automation to continue.

Additional context
If it helps the error I'm getting from the smartthinq integration is this one:

custom_components.smartthinq_sensors.wideq.core_exceptions.APIError: 0111 - {'data': ''}

Documentation:
Home Assistant Continue On Error

@ollo69
Copy link
Owner

ollo69 commented Nov 19, 2023

Can you provide more details about the services you are using in your script.

@danielg88
Copy link
Author

Yes sure.

I have seem this error pop up using water_heater.set_operation_mode and climate.turn_off services

@Tezzlicious
Copy link

I'm geting the exact same error on climate.turn_off for my LG S24ET Airconditioner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants