mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
fix out of date rainbird docs (#18039)
- Fix a couple missing times that reference `seconds` instead of `minutes` (users following these instructions as they were will get errors; see https://github.com/home-assistant/core/issues/36214) - Bring example automation yml format up to date.
This commit is contained in:
parent
c1b3f32f3c
commit
322f4b2579
@ -75,7 +75,8 @@ More complex configuration using all possible features could look like this exam
|
|||||||
rainbird:
|
rainbird:
|
||||||
- host: IP_ADDRESS_OF_MODULE
|
- host: IP_ADDRESS_OF_MODULE
|
||||||
password: YOUR_PASSWORD
|
password: YOUR_PASSWORD
|
||||||
trigger_time: 6
|
trigger_time:
|
||||||
|
minutes: 6
|
||||||
zones:
|
zones:
|
||||||
1:
|
1:
|
||||||
friendly_name: My zone 1
|
friendly_name: My zone 1
|
||||||
@ -83,7 +84,8 @@ rainbird:
|
|||||||
minutes: 6
|
minutes: 6
|
||||||
2:
|
2:
|
||||||
friendly_name: My zone 2
|
friendly_name: My zone 2
|
||||||
trigger_time: 2
|
trigger_time:
|
||||||
|
minutes: 2
|
||||||
- host: IP_ADDRESS_OF_ANOTHER_MODULE
|
- host: IP_ADDRESS_OF_ANOTHER_MODULE
|
||||||
password: YOUR_ANOTHER_PASSWORD
|
password: YOUR_ANOTHER_PASSWORD
|
||||||
trigger_time: 0:06
|
trigger_time: 0:06
|
||||||
@ -126,12 +128,11 @@ The service can be used as part of an automation script. For example:
|
|||||||
automation:
|
automation:
|
||||||
- alias: "Turn irrigation on"
|
- alias: "Turn irrigation on"
|
||||||
trigger:
|
trigger:
|
||||||
platform: time
|
- platform: time
|
||||||
at: "5:30:00"
|
at: "5:30:00"
|
||||||
action:
|
action:
|
||||||
service: rainbird.start_irrigation
|
- service: rainbird.start_irrigation
|
||||||
target:
|
|
||||||
entity_id: switch.sprinkler_1
|
|
||||||
data:
|
data:
|
||||||
|
entity_id: switch.sprinkler_1
|
||||||
duration: 5
|
duration: 5
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user