mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
parent
c23054fe2c
commit
c68df1bc66
@ -54,12 +54,17 @@ automation:
|
|||||||
|
|
||||||
### {% linkable_title Service `climate.set_away_mode` %}
|
### {% 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 |
|
| 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.
|
| `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 %}
|
#### {% linkable_title Automation example %}
|
||||||
|
|
||||||
@ -69,10 +74,10 @@ automation:
|
|||||||
platform: time
|
platform: time
|
||||||
after: "07:15:00"
|
after: "07:15:00"
|
||||||
action:
|
action:
|
||||||
- service: climate.set_away_mode
|
- service: climate.set_hold_mode
|
||||||
data:
|
data:
|
||||||
entity_id: climate.kitchen
|
entity_id: climate.kitchen
|
||||||
away_mode: true
|
hold_mode: 'away'
|
||||||
```
|
```
|
||||||
|
|
||||||
### {% linkable_title Service `climate.set_temperature` %}
|
### {% linkable_title Service `climate.set_temperature` %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user