mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Fixed bad example and missing options for set_swing_mode (#39993)
This commit is contained in:
parent
d491adf5af
commit
210115fd9d
@ -213,7 +213,7 @@ Set swing operation mode for climate device
|
|||||||
| Data attribute | Optional | Description |
|
| 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`.
|
| `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`.
|
||||||
| `swing_mode` | no | New value of swing mode
|
| `swing_mode` | no | New value of swing mode: `off`, `horizontal`, `vertical` or `both`.
|
||||||
|
|
||||||
#### Automation example
|
#### Automation example
|
||||||
|
|
||||||
@ -227,7 +227,7 @@ automation:
|
|||||||
target:
|
target:
|
||||||
entity_id: climate.kitchen
|
entity_id: climate.kitchen
|
||||||
data:
|
data:
|
||||||
swing_mode: 1
|
swing_mode: both
|
||||||
```
|
```
|
||||||
|
|
||||||
### Action `climate.set_swing_horizontal_mode`
|
### Action `climate.set_swing_horizontal_mode`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user