Skip to content

Commit

Permalink
Expand test; Add sequence cancel test
Browse files Browse the repository at this point in the history
  • Loading branch information
rgc99 committed Jun 22, 2024
1 parent 58171e3 commit 7922c0e
Show file tree
Hide file tree
Showing 2 changed files with 435 additions and 36 deletions.
36 changes: 28 additions & 8 deletions tests/configs/test_sequence_entity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ irrigation_unlimited:
- {t: '2023-11-16 06:37:00', c: 1, z: 5, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 4, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 0, s: 0}
- name: "5-Sequence 2 paused for 12 min"
- name: "5-Sequence 2 paused for 5min"
start: "2023-11-16 06:00"
end: "2023-11-16 07:00"
results:
Expand All @@ -121,19 +121,23 @@ irrigation_unlimited:
- {t: '2023-11-16 06:12:00', c: 1, z: 2, s: 1}
- {t: '2023-11-16 06:12:00', c: 1, z: 3, s: 1}
- {t: '2023-11-16 06:14:00', c: 1, z: 1, s: 0}
- {t: '2023-11-16 06:19:00', c: 1, z: 1, s: 1}
- {t: '2023-11-16 06:20:00', c: 1, z: 1, s: 0}
- {t: '2023-11-16 06:24:00', c: 1, z: 2, s: 0}
- {t: '2023-11-16 06:24:00', c: 1, z: 3, s: 0}
- {t: '2023-11-16 06:24:00', c: 1, z: 0, s: 0}
- {t: '2023-11-16 06:25:00', c: 1, z: 0, s: 1}
- {t: '2023-11-16 06:25:00', c: 1, z: 4, s: 1}
- {t: '2023-11-16 06:26:00', c: 1, z: 1, s: 1}
- {t: '2023-11-16 06:27:00', c: 1, z: 1, s: 0}
- {t: '2023-11-16 06:27:30', c: 1, z: 3, s: 1}
- {t: '2023-11-16 06:35:30', c: 1, z: 3, s: 0}
- {t: '2023-11-16 06:36:00', c: 1, z: 5, s: 1}
- {t: '2023-11-16 06:25:15', c: 1, z: 3, s: 1}
- {t: '2023-11-16 06:33:15', c: 1, z: 3, s: 0}
- {t: '2023-11-16 06:33:45', c: 1, z: 5, s: 1}
- {t: '2023-11-16 06:40:00', c: 1, z: 5, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 4, s: 0}
- {t: '2023-11-16 06:49:00', c: 1, z: 5, s: 0}
- {t: '2023-11-16 06:49:00', c: 1, z: 0, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 0, s: 0}
- {t: '2023-11-16 06:45:00', c: 1, z: 0, s: 1}
- {t: '2023-11-16 06:45:00', c: 1, z: 5, s: 1}
- {t: '2023-11-16 06:51:45', c: 1, z: 5, s: 0}
- {t: '2023-11-16 06:51:45', c: 1, z: 0, s: 0}
- name: "6-Sequence 2 skip"
start: "2023-11-16 06:00"
end: "2023-11-16 07:00"
Expand All @@ -150,3 +154,19 @@ irrigation_unlimited:
- {t: '2023-11-16 06:35:00', c: 1, z: 5, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 4, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 0, s: 0}
- name: "7-Sequence 2 cancel"
start: "2023-11-16 06:00"
end: "2023-11-16 07:00"
results:
- {t: '2023-11-16 06:05:00', c: 1, z: 0, s: 1}
- {t: '2023-11-16 06:05:00', c: 1, z: 1, s: 1}
- {t: '2023-11-16 06:12:00', c: 1, z: 2, s: 1}
- {t: '2023-11-16 06:12:00', c: 1, z: 3, s: 1}
- {t: '2023-11-16 06:13:00', c: 1, z: 1, s: 0}
- {t: '2023-11-16 06:24:00', c: 1, z: 2, s: 0}
- {t: '2023-11-16 06:24:00', c: 1, z: 3, s: 0}
- {t: '2023-11-16 06:24:00', c: 1, z: 0, s: 0}
- {t: '2023-11-16 06:25:00', c: 1, z: 0, s: 1}
- {t: '2023-11-16 06:25:00', c: 1, z: 4, s: 1}
- {t: '2023-11-16 06:43:00', c: 1, z: 4, s: 0}
- {t: '2023-11-16 06:43:00', c: 1, z: 0, s: 0}
Loading

0 comments on commit 7922c0e

Please sign in to comment.