ha-smartthinq-sensors
ha-smartthinq-sensors copied to clipboard
Support for Home Assistant Scripts continue_on_error
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
Can you provide more details about the services you are using in your script.
Yes sure.
I have seem this error pop up using water_heater.set_operation_mode and climate.turn_off services
I'm geting the exact same error on climate.turn_off for my LG S24ET Airconditioner.