From 3ae3026abcfd7980adc8738fb86c11503994c5df Mon Sep 17 00:00:00 2001 From: Matthew Schick Date: Tue, 16 May 2017 13:59:35 -0400 Subject: [PATCH 1/2] Update for new nest.set_mode service --- source/_components/nest.markdown | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/source/_components/nest.markdown b/source/_components/nest.markdown index c0cc1368dc65..64f548545dd2 100644 --- a/source/_components/nest.markdown +++ b/source/_components/nest.markdown @@ -57,3 +57,29 @@ Configuration variables: - **client_id** (*Required*): Your Nest developer client ID. - **client_secret** (*Required*): Your Nest developer client secret. - **structure** (*Optional*): The structure or structures you would like to include devices from. If not specified, this will include all structures in your Nest account. + +Services: + +Currently there is a single `nest.set_mode` service available to switch between +"away" and "home" modes. This service requires a `home_mode` param and has an +optional `structure` param. + +```yaml +# Example script to set away, no structure specified so will execute for all +set_nest_away: + sequence: + - service: nest.set_mode + data: + home_mode: away +``` + +```yaml +# Example script to set home, structure specified +set_nest_home: + sequence: + - service: nest.set_mode + data: + home_mode: home + structure: + - Building +``` From 6bce8b38f201c3c768c51f5e8ef51343d2700219 Mon Sep 17 00:00:00 2001 From: Fredrik Lindqvist Date: Wed, 17 May 2017 08:59:14 +0200 Subject: [PATCH 2/2] Update nest.markdown --- source/_components/nest.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/nest.markdown b/source/_components/nest.markdown index 64f548545dd2..b80eb45a20f1 100644 --- a/source/_components/nest.markdown +++ b/source/_components/nest.markdown @@ -58,7 +58,7 @@ Configuration variables: - **client_secret** (*Required*): Your Nest developer client secret. - **structure** (*Optional*): The structure or structures you would like to include devices from. If not specified, this will include all structures in your Nest account. -Services: +### {% linkable_title Services %} Currently there is a single `nest.set_mode` service available to switch between "away" and "home" modes. This service requires a `home_mode` param and has an