mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
config example update (#5179)
The configuration didn't work as listed. Required addition of platform and switches lines, along with indent fixes.
This commit is contained in:
parent
17285ba293
commit
fdef560c1a
@ -19,16 +19,18 @@ Once you have enabled the [Rain Bird component](/components/rainbird), add the f
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
switch:
|
switch:
|
||||||
sprinkler_1:
|
- platform: rainbird
|
||||||
zone: 1
|
switches:
|
||||||
friendly_name: "Front sprinklers"
|
sprinkler_1:
|
||||||
trigger_time: 20
|
zone: 1
|
||||||
scan_interval: 10
|
friendly_name: "Front sprinklers"
|
||||||
sprinkler_2:
|
trigger_time: 10
|
||||||
friendly_name: "Back sprinklers"
|
scan_interval: 10
|
||||||
zone: 2
|
sprinkler_2:
|
||||||
trigger_time: 20
|
friendly_name: "Back sprinklers"
|
||||||
scan_interval: 10
|
zone: 2
|
||||||
|
trigger_time: 20
|
||||||
|
scan_interval: 10
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user