mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-29 12:17:01 +00:00
allow field temperature_unit in set_temperature action call
This commit is contained in:
parent
7a5c773c74
commit
edc1a9a6d7
@ -99,6 +99,7 @@ Set target temperature of climate device
|
|||||||
| `temperature` | yes | New target temperature for climate device (commonly referred to as a *setpoint*). Do not use if `hvac_mode` is `heat_cool`.
|
| `temperature` | yes | New target temperature for climate device (commonly referred to as a *setpoint*). Do not use if `hvac_mode` is `heat_cool`.
|
||||||
| `target_temp_high` | yes | The highest temperature that the climate device will allow. Required if `hvac_mode` is `heat_cool`. Required together with `target_temp_low`.
|
| `target_temp_high` | yes | The highest temperature that the climate device will allow. Required if `hvac_mode` is `heat_cool`. Required together with `target_temp_low`.
|
||||||
| `target_temp_low` | yes | The lowest temperature that the climate device will allow. Required if `hvac_mode` is `heat_cool`. Required together with `target_temp_high`.
|
| `target_temp_low` | yes | The lowest temperature that the climate device will allow. Required if `hvac_mode` is `heat_cool`. Required together with `target_temp_high`.
|
||||||
|
| `temperature_unit` | yes | The unit in which the above target temperatures should be set. This defaults based on the selected unit system of your HA instance.
|
||||||
| `hvac_mode` | yes | HVAC mode to set the climate device to. This defaults to current HVAC mode if not set, or set incorrectly.
|
| `hvac_mode` | yes | HVAC mode to set the climate device to. This defaults to current HVAC mode if not set, or set incorrectly.
|
||||||
|
|
||||||
#### Automation examples
|
#### Automation examples
|
||||||
@ -134,6 +135,22 @@ automation:
|
|||||||
hvac_mode: heat_cool
|
hvac_mode: heat_cool
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
### Set temperature to 77°F in heat mode (results in 25°C)
|
||||||
|
automation:
|
||||||
|
triggers:
|
||||||
|
- trigger: time
|
||||||
|
at: "07:15:00"
|
||||||
|
actions:
|
||||||
|
- action: climate.set_temperature
|
||||||
|
target:
|
||||||
|
entity_id: climate.kitchen
|
||||||
|
data:
|
||||||
|
temperature: 77
|
||||||
|
temperature_unit: °F
|
||||||
|
hvac_mode: heat
|
||||||
|
```
|
||||||
|
|
||||||
### Action `climate.set_humidity`
|
### Action `climate.set_humidity`
|
||||||
|
|
||||||
Set target humidity of climate device
|
Set target humidity of climate device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user