From 322f4b257901ea94782fc62c5c0bc08cf1753d0a Mon Sep 17 00:00:00 2001 From: Chris Petersen <154074+ex-nerd@users.noreply.github.com> Date: Tue, 1 Jun 2021 10:45:36 -0700 Subject: [PATCH] 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. --- source/_integrations/rainbird.markdown | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/source/_integrations/rainbird.markdown b/source/_integrations/rainbird.markdown index 448ea170815..0ae7f649356 100644 --- a/source/_integrations/rainbird.markdown +++ b/source/_integrations/rainbird.markdown @@ -75,7 +75,8 @@ More complex configuration using all possible features could look like this exam rainbird: - host: IP_ADDRESS_OF_MODULE password: YOUR_PASSWORD - trigger_time: 6 + trigger_time: + minutes: 6 zones: 1: friendly_name: My zone 1 @@ -83,7 +84,8 @@ rainbird: minutes: 6 2: friendly_name: My zone 2 - trigger_time: 2 + trigger_time: + minutes: 2 - host: IP_ADDRESS_OF_ANOTHER_MODULE password: YOUR_ANOTHER_PASSWORD trigger_time: 0:06 @@ -126,12 +128,11 @@ The service can be used as part of an automation script. For example: automation: - alias: "Turn irrigation on" trigger: - platform: time - at: "5:30:00" + - platform: time + at: "5:30:00" action: - service: rainbird.start_irrigation - target: - entity_id: switch.sprinkler_1 - data: - duration: 5 + - service: rainbird.start_irrigation + data: + entity_id: switch.sprinkler_1 + duration: 5 ```