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

Irrigation delay when it's raining

$
0
0

Hey everyone, so i am quite new to this and quite enjoy home assistant. Now I wanted to make an automation, that when the weather service reports rain above 5mm (not fixed yet), the irrigation programm get’s stopped.
I am sure there are better ways to do this, but i also want to understand why it’s not working.
I did this in the UI, not in yaml but anyways, here is the automation i came up with, sadly it doesn’t work, it never get’s triggered, what am i doing wrong here?

thanks everyone!

alias: RainDelay
description: ""
triggers:
  - type: precipitation
    device_id: 9cafed4b07f63e84167e4f53aabf0938
    entity_id: d7e7a96aedd5ad90df6b933935764f34
    domain: sensor
    trigger: device
    above: 0
conditions: []
actions:
  - choose:
      - conditions:
          - type: is_precipitation
            condition: device
            device_id: 9cafed4b07f63e84167e4f53aabf0938
            entity_id: d7e7a96aedd5ad90df6b933935764f34
            domain: sensor
            above: 5
        sequence:
          - action: switch.turn_off
            metadata: {}
            data: {}
            target:
              entity_id: switch.enable_program
      - conditions:
          - type: is_precipitation
            condition: device
            device_id: 9cafed4b07f63e84167e4f53aabf0938
            entity_id: d7e7a96aedd5ad90df6b933935764f34
            domain: sensor
            below: 5
        sequence:
          - action: switch.turn_on
            metadata: {}
            data: {}
            target:
              entity_id: switch.enable_program
mode: single

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 105572

Trending Articles



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