forked from rgc99/irrigation_unlimited
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
105 lines (101 loc) · 2.78 KB
/
configuration.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
default_config:
logger:
default: info
logs:
custom_components.irrigation_unlimited: debug
debugpy:
start: true
wait: true
irrigation_unlimited:
granularity: 60
testing:
enabled: true
speed: 3600.0
times:
- name: 'Test 1'
start: '2021-01-04 05:00'
end: '2021-01-11 07:30'
- name: 'Test 2'
start: '2021-01-01 05:00'
end: '2021-01-01 05:30'
controllers:
- name: 'Controller 1'
preamble: '00:02'
postamble: '00:02'
zones:
- schedules:
- time: '07:05'
duration: '00:03'
weekday: [mon, tue, wed]
month: [jan, feb, mar]
day: 'even'
- name: 'Controller 2'
# entity_id: my_master_switch
enabled: true
preamble: '00:02'
postamble: '00:02'
zones:
- name: 'Example schedules'
# entity_id: my_zone_switch
enabled: true
minimum: '00:02'
maximum: '01:00'
schedules:
- name: 'Before sunrise'
time:
sun: 'sunrise'
before: '00:20'
duration: '00:30'
- name: 'After sunset'
time:
sun: 'sunset'
after: '00:30'
duration: '00:20'
- name: 'Overlapping 1'
time: '05:45'
duration: '00:30'
- name: 'Overlaping 2'
time: '06:00'
duration: '00:30'
- name: 'Lazy Summer Sundays'
time: '12:00'
duration: '00:10'
month: [dec, jan, feb]
weekday: [sun]
- name: 'Watering odd days only'
time: '08:00'
duration: '00:20'
day: 'odd'
- name: 'Golden days'
time: '08:30'
duration: '00:10'
day: [1, 2, 3, 5, 8, 13, 21]
- name: 'Never on a Sunday'
time: '09:00'
duration: '00:05'
weekday: [mon, tue, wed, thu, fri, sat]
- name: 'Happy New Year'
time: '00:00'
duration: '00:10'
month: [jan]
day: [1]
- name: 'Long hand'
time: '13:00'
duration:
minutes: 10
weekday:
- mon
- wed
- thu
month:
- jan
- feb
day:
- 1
- 5
- 10
- name: 'Overlapped Zone'
schedules:
- name: 'Overlaps with Zone 1'
time: '05:50'
duration: '00:20'