My automation is not working and I would like to manual trigger a series of actions which I defined in the Automation.
I created a switch for the trigger, but enable the automation doesn’t work either.
This is my configuration.yaml:
automation:
- alias: Turn irrigation on
trigger:
platform: state
entity_id: input_boolean.rainbird_switch_demo
to: 'on'
action:
- service: rainbird.start_irrigation
entity_id: switch.sprinkler_1
data:
duration: 2
- delay: '1500'
- service: rainbird.start_irrigation
entity_id: switch.sprinkler_2
data:
duration: 2
- delay: '1500'
- service: rainbird.start_irrigation
entity_id: switch.sprinkler_3
data:
duration: 2
I also added the seperate switches in a dashboard and this works without any problems so the sprinkler starts when i click the button but I would like to set-up mutliple programs like hot weather the duration is longer.
The dashboard looks like:
The documentation for the implementation: