@@ -27,14 +27,18 @@ rainmachine:
27
27
password : YOUR_PASSWORD
28
28
` ` `
29
29
30
- To configure switch-related functionality, add configuration options beneath
31
- a ` switches` key within the `rainmachine` sections of `configuration.yaml `
32
- as below :
30
+ To configure additional functionality, add configuration options beneath
31
+ a ` binary_sensor`, `sensor`, and/or ` switches` key within the `rainmachine`
32
+ sections of `configuration.yaml` as below :
33
33
34
34
` ` ` yaml
35
35
rainmachine:
36
36
ip_address: 192.168.1.100
37
37
password: YOUR_PASSWORD
38
+ binary_sensors:
39
+ # binary sensor configuration options...
40
+ sensors:
41
+ # sensor configuration options...
38
42
switches:
39
43
# switch configuration options...
40
44
` ` `
58
62
required : false
59
63
type : boolean
60
64
default : true
65
+ binary_sensors :
66
+ description : binary sensor-related configuration options
67
+ required : false
68
+ type : map
69
+ keys :
70
+ monitored_conditions :
71
+ description : the conditions to create sensors from
72
+ required : false
73
+ type : list
74
+ default : all (`extra_water_on_hot_days`, `freeze`, `freeze_protection`, `hourly`, `month`, `raindelay`, `rainsensor`, `weekday`)
75
+ sensors :
76
+ description : sensor-related configuration options
77
+ required : false
78
+ type : map
79
+ keys :
80
+ monitored_conditions :
81
+ description : the conditions to create sensors from
82
+ required : false
83
+ type : list
84
+ default : all (`freeze_protect_temp`)
61
85
switches :
62
86
description : switch-related configuration options
63
87
required : false
@@ -69,3 +93,43 @@ switches:
69
93
type : int
70
94
default : 600
71
95
{% endconfiguration %}
96
+
97
+ # # {% linkable_title Services %}
98
+
99
+ # ## {% linkable_title `rainmachine.start_program` %}
100
+
101
+ Start a RainMachine program.
102
+
103
+ | Service Data Attribute | Optional | Description |
104
+ |---------------------------|----------|----------------------|
105
+ | `program_id` | no | The program to start |
106
+
107
+ # ## {% linkable_title `rainmachine.start_zone` %}
108
+
109
+ Start a RainMachine zone for a set number of seconds.
110
+
111
+ | Service Data Attribute | Optional | Description |
112
+ |---------------------------|----------|------------------------------------------------------|
113
+ | `zone_id` | no | The zone to start |
114
+ | `zone_run_time` | yes | The number of seconds to run; defaults to 60 seconds |
115
+
116
+ # ## {% linkable_title `rainmachine.stop_all` %}
117
+
118
+ Stop all watering activities.
119
+
120
+ # ## {% linkable_title `rainmachine.stop_program` %}
121
+
122
+ Stop a RainMachine program.
123
+
124
+ | Service Data Attribute | Optional | Description |
125
+ |---------------------------|----------|----------------------|
126
+ | `program_id` | no | The program to stop |
127
+
128
+ # ## {% linkable_title `rainmachine.stop_zone` %}
129
+
130
+ Stop a RainMachine zone.
131
+
132
+ | Service Data Attribute | Optional | Description |
133
+ |---------------------------|----------|----------------------|
134
+ | `zone_id` | no | The zone to stop |
135
+
0 commit comments