Skip to content

Commit 0c03654

Browse files
andrey-gittinloaf
authored andcommitted
Climate: Add turn_on/turn_off services (home-assistant#4306)
* Add turn_on/turn_off services * Reword based on feedback
1 parent b0b7ee8 commit 0c03654

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

source/_components/climate.markdown

+17-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ climate:
2323
## {% linkable_title Services %}
2424
2525
### {% linkable_title Climate control services %}
26-
Available services: `climate.set_aux_heat`, `climate.set_away_mode`, `climate.set_temperature`, `climate.set_humidity`, `climate.set_fan_mode`, `climate.set_operation_mode`, `climate.set_swing_mode`, `climate.set_hold_mode`
26+
Available services: `climate.set_aux_heat`, `climate.set_away_mode`, `climate.set_temperature`, `climate.set_humidity`, `climate.set_fan_mode`, `climate.set_operation_mode`, `climate.set_swing_mode`, `climate.set_hold_mode`, `climate.turn_on`, `climate.turn_off`
2727

2828
<p class='note'>
2929
Not all climate services may be available for your platform. Be sure to check the available services Home Assistant has enabled by checking <img src='/images/screenshots/developer-tool-services-icon.png' alt='service developer tool icon' class="no-shadow" height="38" /> **Services**.
@@ -222,6 +222,22 @@ automation:
222222
entity_id: climate.kitchen
223223
swing_mode: 1
224224
```
225+
### {% linkable_title Service `climate.turn_on` %}
226+
227+
Turn climate device on
228+
229+
| Service data attribute | Optional | Description |
230+
| ---------------------- | -------- | ----------- |
231+
| `entity_id` | yes | String or list of strings that point at `entity_id`'s of climate devices to control. Targets all when omitted.
232+
233+
### {% linkable_title Service `climate.turn_off` %}
234+
235+
Turn climate device off
236+
237+
| Service data attribute | Optional | Description |
238+
| ---------------------- | -------- | ----------- |
239+
| `entity_id` | yes | String or list of strings that point at `entity_id`'s of climate devices to control. Targets all when omitted.
240+
225241
#### {% linkable_title Customization %}
226242

227243
The step for the setpoint can be adjusted (default to 0,5 increments) by adding the following line into configuration

0 commit comments

Comments
 (0)