From 184c3bce7ef1811a6b5814d9e1cd167ed763b7cf Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 20 Feb 2019 23:29:01 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=9A=9C=20Merges/Redirect=20Rachio=20c?= =?UTF-8?q?omponent=20pages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../_components/binary_sensor.rachio.markdown | 20 ------- source/_components/rachio.markdown | 60 +++++++++++++++++-- source/_components/switch.rachio.markdown | 51 ---------------- 3 files changed, 54 insertions(+), 77 deletions(-) delete mode 100644 source/_components/binary_sensor.rachio.markdown delete mode 100644 source/_components/switch.rachio.markdown diff --git a/source/_components/binary_sensor.rachio.markdown b/source/_components/binary_sensor.rachio.markdown deleted file mode 100644 index e91a1c9fd37..00000000000 --- a/source/_components/binary_sensor.rachio.markdown +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: page -title: "Rachio Binary Sensor" -description: "Instructions on how to use Rachio binary sensors with Home Assistant." -date: 2018-06-23 16:15 -sidebar: true -comments: false -sharing: true -footer: true -logo: rachio.png -ha_category: Irrigation -ha_iot_class: "Cloud Push" -ha_release: 0.73 ---- - -The `rachio` binary sensor platform allows you to view the status of your [Rachio irrigation system](http://rachio.com/). - -Once configured, a binary sensor will be added that shows whether or not each controller in the account provided is online and reachable by Rachio's servers. - -They will be automatically added if the [Rachio component](/components/rachio/) component is loaded. diff --git a/source/_components/rachio.markdown b/source/_components/rachio.markdown index 809d801be9d..8dc8e81987e 100644 --- a/source/_components/rachio.markdown +++ b/source/_components/rachio.markdown @@ -8,19 +8,32 @@ comments: false sharing: true footer: true logo: rachio.png -ha_category: Irrigation +ha_category: + - Irrigation + - Binary Sensor + - Switch ha_iot_class: "Cloud Push" ha_release: 0.73 +redirect_from: + - /components/binary_sensor.rachio/ + - /components/switch.rachio/ --- The `rachio` platform allows you to control your [Rachio irrigation system](http://rachio.com/). +There is currently support for the following device types within Home Assistant: + +- **Binary Sensor** - Allows you to view the status of your [Rachio irrigation system](http://rachio.com/). +- [Switch](#switch) + +They will be automatically added if the Rachio component component is loaded. + ## {% linkable_title Getting your Rachio API Key %} 1. Log in at [https://app.rach.io/](https://app.rach.io/). -1. Click the "Account Settings" menu item at the bottom of the left sidebar -1. Click "Get API Key" -1. Copy the API key from the dialog that opens. +2. Click the "Account Settings" menu item at the bottom of the left sidebar +3. Click "Get API Key" +4. Copy the API key from the dialog that opens. ## {% linkable_title Configuration %} @@ -53,8 +66,6 @@ manual_run_mins: Set `manual_run_mins` to a high maximum failsafe value when using scripts to control zones. If something goes wrong with your script, Home Assistant, or you hit the Rachio API rate limit of 1700 calls per day, the controller will still turn off the zone after this amount of time.

-Once configured, [Rachio Binary Sensor](/components/binary_sensor.rachio/) and [Rachio Switch](/components/switch.rachio/) platforms will be automatically loaded. - ### {% linkable_title iFrame %} If you would like to see and control more detailed zone information, create an [iFrame](/components/panel_iframe/) that renders the Rachio web app. @@ -66,3 +77,40 @@ panel_iframe: url: "https://app.rach.io" icon: mdi:water-pump ``` + +## {% linkable_title Switch %} + +The `rachio` switch platform allows you to toggle zones connected to your [Rachio irrigation system](http://rachio.com/) on and off. + +Once configured, a switch will be added for every zone that is enabled on every controller in the account provided, as well as a switch to toggle each controller's standby mode. + +## {% linkable_title Examples %} + +In this section, you find some real-life examples of how to use this switch. + +### {% linkable_title `groups.yaml` example %} + +```yaml +irrigation: + name: Irrigation + icon: mdi:water-pump + view: true + entities: + - group.zones_front + - group.zones_back + - switch.side_yard + +zones_front: + name: Front Yard + view: false + entities: + - switch.front_bushes + - switch.front_yard + +zones_back: + name: Back Yard + view: false + entities: + - switch.back_garden + - switch.back_porch +``` \ No newline at end of file diff --git a/source/_components/switch.rachio.markdown b/source/_components/switch.rachio.markdown deleted file mode 100644 index f9da8e15d1f..00000000000 --- a/source/_components/switch.rachio.markdown +++ /dev/null @@ -1,51 +0,0 @@ ---- -layout: page -title: "Rachio Switch" -description: "Instructions on how to use Rachio switches with Home Assistant." -date: 2018-06-23 16:09 -sidebar: true -comments: false -sharing: true -footer: true -logo: rachio.png -ha_category: Irrigation -ha_iot_class: "Cloud Push" -ha_release: 0.46 ---- - -The `rachio` switch platform allows you to toggle zones connected to your [Rachio irrigation system](http://rachio.com/) on and off. - -Once configured, a switch will be added for every zone that is enabled on every controller in the account provided, as well as a switch to toggle each controller's standby mode. - -They will be automatically added if the [Rachio component](/components/rachio/) is loaded. - -## {% linkable_title Examples %} - -In this section, you find some real-life examples of how to use this switch. - -### {% linkable_title `groups.yaml` example %} - -```yaml -irrigation: - name: Irrigation - icon: mdi:water-pump - view: true - entities: - - group.zones_front - - group.zones_back - - switch.side_yard - -zones_front: - name: Front Yard - view: false - entities: - - switch.front_bushes - - switch.front_yard - -zones_back: - name: Back Yard - view: false - entities: - - switch.back_garden - - switch.back_porch -``` From 28add42ecec80135c081362f6278d54e2eb3741a Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Wed, 20 Feb 2019 23:33:25 +0100 Subject: [PATCH 2/2] :pencil2: Tweak --- source/_components/rachio.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/rachio.markdown b/source/_components/rachio.markdown index 8dc8e81987e..55b7cfc1239 100644 --- a/source/_components/rachio.markdown +++ b/source/_components/rachio.markdown @@ -24,7 +24,7 @@ The `rachio` platform allows you to control your [Rachio irrigation system](http There is currently support for the following device types within Home Assistant: - **Binary Sensor** - Allows you to view the status of your [Rachio irrigation system](http://rachio.com/). -- [Switch](#switch) +- [**Switch**](#switch) They will be automatically added if the Rachio component component is loaded.