Hi All,
I am fairly new to HA and cannot figure out how to get past the following error that stops an automation from continuing. HA is receiving an error from Hydrawise that is preventing the rest of the automation from running. I added continue_on_error: true
into the action, but am still having no luck with or without it.
Here is what the trace timeline looks like:
Triggered by the state of input_button.test_button at July 20, 2024 at 8:02:10 AM
Turn on Inside Loop - Manual Watering
Stopped because an error was encountered at July 20, 2024 at 8:02:11 AM (runtime: 0.99 seconds)
Starting Back & Side Yard Inside Loop in 15 seconds
And here is the error executing script log:
Logger: homeassistant.components.automation.test_auto2
Source: components/automation/__init__.py:755
integration: Automation (documentation, issues)
First occurred: 6:57:08 AM (4 occurrences)
Last logged: 8:02:11 AM
While executing automation automation.test_auto2
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 755, in async_trigger
return await self.action_script.async_run(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1770, in async_run
return await asyncio.shield(create_eager_task(run.async_run()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 465, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 529, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 559, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 527, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 781, in _async_device_step
await device_action.async_call_action_from_config(
File "/usr/src/homeassistant/homeassistant/components/device_automation/action.py", line 72, in async_call_action_from_config
await platform.async_call_action_from_config(hass, config, variables, context)
File "/usr/src/homeassistant/homeassistant/components/switch/device_action.py", line 36, in async_call_action_from_config
await toggle_entity.async_call_action_from_config(
File "/usr/src/homeassistant/homeassistant/components/device_automation/toggle_entity.py", line 124, in async_call_action_from_config
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/hydrawise/switch.py", line 88, in async_turn_on
await self.entity_description.turn_on_fn(self.coordinator.api, self.zone)
File "/usr/local/lib/python3.12/site-packages/pydrawise/client.py", line 195, in start_zone
await self._mutation(selector)
File "/usr/local/lib/python3.12/site-packages/pydrawise/client.py", line 104, in _mutation
raise MutationError(resp["summary"])
pydrawise.exceptions.MutationError: Starting Back & Side Yard Inside Loop in 15 seconds
Traces/logs have since dissappeared, but this automation worked a week ago. I updated Home Assistant recently and am guessing that’s when it stopped working.