My HA runs my irrigation for my yard. I have an input_number
entity that I set to tell the system how long to run each zone. One of my zones is getting too much water and really just needs to run about half as long as the other zones. Can I add a formula to that zone’s script to make it run for half the time as other zones? Something like"input_number/2"
?
Here is my current script.
irrigation_run_all_zones:
sequence:
- service: switch.turn_on
target:
entity_id: switch.master_valve
- service: switch.turn_on
target:
entity_id: switch.zone_1
- delay:
minutes: '{{ states(''input_number.irrigation_timer_minutes'') | int }}'
- service: switch.turn_off
target:
entity_id: switch.zone_1