Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 109599

Issue with automation

$
0
0

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:
2020_08_18_11_56_26_Overview_Home_Assistant

The documentation for the implementation:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 109599

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>