Fixed bad example and missing options for set_swing_mode (#39993)

This commit is contained in:
Pieter Rautenbach 2025-07-14 06:49:09 +02:00 committed by GitHub
parent d491adf5af
commit 210115fd9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -213,7 +213,7 @@ Set swing operation mode for climate device
| 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`.
| `swing_mode` | no | New value of swing mode
| `swing_mode` | no | New value of swing mode: `off`, `horizontal`, `vertical` or `both`.
#### Automation example
@ -227,7 +227,7 @@ automation:
target:
entity_id: climate.kitchen
data:
swing_mode: 1
swing_mode: both
```
### Action `climate.set_swing_horizontal_mode`