From 55fa6099d71cbb9b5955eaf89fc9ea5d8cac24ef Mon Sep 17 00:00:00 2001 From: Marty Sun Date: Wed, 27 Sep 2023 17:04:17 +0800 Subject: [PATCH] Add "start_irrigation" service for Yardian (#28892) --- source/_integrations/yardian.markdown | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/_integrations/yardian.markdown b/source/_integrations/yardian.markdown index 770b114cece..7f481273e0a 100644 --- a/source/_integrations/yardian.markdown +++ b/source/_integrations/yardian.markdown @@ -26,3 +26,14 @@ There is currently support for the following platform within Home Assistant: During the configuration, you will have to manually set the **Host** and the **Access Token**. You can find them inside your [Yardian App](https://yardian.com/app/). ![Yardian Host/Token Location](/images/integrations/yardian/yardian_config_flow.jpg) + +## Services + +### yardian.start_irrigation + +Start a zone for a given number of minutes. This service accepts an Yardian Zone switch entity and allows a given duration. + +| Service Data Attribute | Optional | Description | +| ---------------------- | -------- | ----------------------------------------------------- | +| `entity_id` | yes | The Yardian Zone switch to turn on. | +| `duration` | no | Number of minutes for this zone to be turned on. |