From c68df1bc668791daba0948ea9cf05a5eb4533608 Mon Sep 17 00:00:00 2001 From: Duoxilian Date: Sun, 29 Jan 2017 02:24:10 -0600 Subject: [PATCH] Update climate.markdown (#1898) Add documentation for hold_mode. --- source/_components/climate.markdown | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/source/_components/climate.markdown b/source/_components/climate.markdown index 24caf95194e..d90be5414d8 100644 --- a/source/_components/climate.markdown +++ b/source/_components/climate.markdown @@ -54,12 +54,17 @@ automation: ### {% linkable_title Service `climate.set_away_mode` %} -Turn away mode on/off for climate device +This service has been deprecated. Use `climate.set_hold_mode` instead. + + +### {% linkable_title Service `climate.set_hold_mode` %} + +Set hold mode for climate device | Service data attribute | Optional | Description | | ---------------------- | -------- | ----------- | | `entity_id` | yes | String or list of strings that point at `entity_id`'s of climate devices to control. Else targets all. -| `away_mode` | no | New value of away mode. +| `hold_mode` | no | New value of hold mode. #### {% linkable_title Automation example %} @@ -69,10 +74,10 @@ automation: platform: time after: "07:15:00" action: - - service: climate.set_away_mode + - service: climate.set_hold_mode data: entity_id: climate.kitchen - away_mode: true + hold_mode: 'away' ``` ### {% linkable_title Service `climate.set_temperature` %}