mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +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,10 +19,12 @@ Once you have enabled the [Rain Bird component](/components/rainbird), add the f
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
switch:
|
switch:
|
||||||
|
- platform: rainbird
|
||||||
|
switches:
|
||||||
sprinkler_1:
|
sprinkler_1:
|
||||||
zone: 1
|
zone: 1
|
||||||
friendly_name: "Front sprinklers"
|
friendly_name: "Front sprinklers"
|
||||||
trigger_time: 20
|
trigger_time: 10
|
||||||
scan_interval: 10
|
scan_interval: 10
|
||||||
sprinkler_2:
|
sprinkler_2:
|
||||||
friendly_name: "Back sprinklers"
|
friendly_name: "Back sprinklers"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user