You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scheduler works well!
Sometimes I need to run the sequence manually, so I'm trying to use the manual card. The manual card works ONLY if I specify a zone or a controller without specify a sequence. But if I select a controller and set sequence to , it starts watering on all zones, which is not what I want. This because the water pressure is to low to start all 6 zones simultaniously. If I select a single zone with sequente , it works, but in this case, I need to do that manually for all 6 zones. I would like to let run all the zones in sequence. Here the error as soon I start selecting controller AND a sequence:
2025-04-10 08:32:46.260 ERROR (MainThread) [homeassistant.core] Error executing service: <ServiceCall irrigation_unlimited.manual_run (c:01JRFD915KM8YE4RED2M6AQTJ8): entity_id=['binary_sensor.irrigation_unlimited_c1_m'], time=0:04:00, sequence_id=['2']>
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 2814, in _run_service_call_catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 2837, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call
single_response = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
hass, entity, func, data, call.context
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/irrigation_unlimited/service.py", line 56, in async_entity_service_handler
entity.dispatch(call.service, call)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/irrigation_unlimited/entity.py", line 300, in dispatch
self._coordinator.service_call(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
service, self._controller, self._zone, self._sequence, call.data
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/config/custom_components/irrigation_unlimited/irrigation_unlimited.py", line 6660, in service_call
controller.service_manual_run(data1, stime)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/config/custom_components/irrigation_unlimited/irrigation_unlimited.py", line 5008, in service_manual_run
sequence_list = self.decode_sequence_id(stime, data.get(CONF_SEQUENCE_ID))
File "/config/custom_components/irrigation_unlimited/irrigation_unlimited.py", line 4922, in decode_sequence_id
if self.get_sequence(sequence_id - 1) is not None:
~~~~~~~~~~~~^~~
TypeError: unsupported operand type(s) for -: 'str' and 'int'
2025-04-10 08:32:48.542 INFO (MainThread) [custom_components.irrigation_unlimited] CALL [2025-04-10 10:32:48] service: cancel, controller: 1, zone: 1, sequence: 0, data: {"entity_id": ["binary_sensor.irrigation_unlimited_c1_z1"]}
What's wrong?
Thanks,
Simon
The text was updated successfully, but these errors were encountered:
Hi all,
I've succesfully configured Irrigation unlimited with code below:
The scheduler works well!
Sometimes I need to run the sequence manually, so I'm trying to use the manual card. The manual card works ONLY if I specify a zone or a controller without specify a sequence. But if I select a controller and set sequence to , it starts watering on all zones, which is not what I want. This because the water pressure is to low to start all 6 zones simultaniously. If I select a single zone with sequente , it works, but in this case, I need to do that manually for all 6 zones. I would like to let run all the zones in sequence. Here the error as soon I start selecting controller AND a sequence:
What's wrong?
Thanks,
Simon
The text was updated successfully, but these errors were encountered: