Skip to content

Commit

Permalink
Update event test unit
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Oct 9, 2024
1 parent 3baf2fa commit 595c1cb
Show file tree
Hide file tree
Showing 2 changed files with 348 additions and 50 deletions.
42 changes: 42 additions & 0 deletions tests/configs/test_event_and_adjust.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
default_config:

homeassistant:
unit_system: metric
time_zone: Australia/Sydney
name: Opera House
latitude: -33.85951127367736
longitude: 151.22225761413577
elevation: 0

irrigation_unlimited:
refresh_interval: 2000
history:
read_delay: 2
controllers:
- name: "Test controller 1"
all_zones_config:
show:
timeline: true
zones:
- name: "Zone 1"
sequences:
- name: "Seq 1"
schedules:
- time: "06:05"
zones:
- zone_id: 1
duration: "0:10:00"
testing:
enabled: true
output_events: false
show_log: false
autoplay: false
times:
- name: "1-Sequence 1"
start: "2024-09-20 06:00"
end: "2024-09-20 07:00"
results:
- {t: '2024-09-20 06:05:00', c: 1, z: 0, s: 1}
- {t: '2024-09-20 06:05:00', c: 1, z: 1, s: 1}
- {t: '2024-09-20 06:14:00', c: 1, z: 1, s: 0}
- {t: '2024-09-20 06:14:00', c: 1, z: 0, s: 0}
Loading

0 comments on commit 595c1cb

Please sign in to comment.