irrigation_unlimited
irrigation_unlimited copied to clipboard
Events not triggered for manual runs
Describe the bug I do not receive events (irrigation_unlimited_start, irrigation_unlimited_finish) for manual run sessions.
Expected behavior Events should be also sent in case of manual runs, with a way to differentiate between scheduled and manual sessions.
You will receive these events at the start and end of a sequence, not an individual zone. A manual run can be distinguished by the schedule.index
being empty/blank.
I do not know how to listen to the irrigation_unlimited_finish. Could some one point me to the right direction? I've tried to implement the irrigation_unlimited_finish example, but without any success (there seems there is nothing triggered). I've also tryed to listen to the 'irrigation_unlimited_finish' event in the HA Developer Tools\Events\Listen to events without any sucess either.
You only receive events for the start and end of a sequence. The beginning and finish of a zone do not produce these events but can be tracked using the state platform as the trigger. For example:
trigger:
- platform: state
entity_id:
- binary_sensor.irrigation_unlimited_c1_z1
from: "off"
to: "on"
Another thought is to 'wrap' a single zone in a sequence. Create a new sequence and move the schedules from the zone.