Skip to content

Commit

Permalink
Check integration is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed May 23, 2022
1 parent 264c3b2 commit ada4482
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/irrigation_unlimited_smart_irrigation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Filename: irrigation_smart_irrigation.yaml
#
# Verion: 1.0.1
# Verion: 1.0.2
#
# Description: Example automation for HAsmartirrigation integration
# (smart_irrigation)[https://github.com/jeroenterheerdt/HAsmartirrigation]
Expand Down Expand Up @@ -51,5 +51,10 @@ automation:
- binary_sensor.irrigation_unlimited_c1_m
from: "on"
to: "off"
condition:
condition: and
conditions:
- "{{ states('sensor.smart_irrigation_daily_adjusted_run_time') != 'unknown' }}"
- "{{ false }}" # Change this to true when HAsmartirrigation is setup.
action:
- service: smart_irrigation.smart_irrigation_reset_bucket

0 comments on commit ada4482

Please sign in to comment.