Update climate.markdown (#28912)

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
This commit is contained in:
Artur Pragacz 2024-02-16 15:59:45 +01:00 committed by GitHub
parent e2687d9f97
commit 544df3d14c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ The **Climate** {% term integration %} allows you to control and monitor HVAC (h
### Climate control services
Available services: `climate.set_aux_heat`, `climate.set_preset_mode`, `climate.set_temperature`, `climate.set_humidity`, `climate.set_fan_mode`, `climate.set_hvac_mode`, `climate.set_swing_mode`, `climate.turn_on`, `climate.turn_off`
Available services: `climate.set_aux_heat`, `climate.set_preset_mode`, `climate.set_temperature`, `climate.set_humidity`, `climate.set_fan_mode`, `climate.set_hvac_mode`, `climate.set_swing_mode`, `climate.turn_on`, `climate.turn_off`, `climate.toggle`
<div class='note'>
@ -234,6 +234,14 @@ Turn climate device off. This is only supported if the climate device has the HV
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | String or list of strings that define the entity ID(s) of climate device(s) to control. To target all climate devices, use `all`.
### Service `climate.toggle`
Toggle climate device. This is only supported if the climate device supports being turned on and off.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `entity_id` | yes | String or list of strings that define the entity ID(s) of climate device(s) to control. To target all climate devices, use `all`.
## Attributes
The climate entity has extra attributes to represent the state of the thermostat.