mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add documentation for new input_select functionality (#15568)
Accompanies https://github.com/home-assistant/core/pull/42968
This commit is contained in:
parent
301fe23ef7
commit
24b308e548
@ -80,10 +80,26 @@ This integration provides three services to modify the state of the `input_selec
|
||||
| ------- | ---- | ----------- |
|
||||
| `select_option` | `option` | This can be used to select a specific option.
|
||||
| `set_options` | `options`<br>`entity_id(s)` | Set the options for specific `input_select` entities.
|
||||
| `select_previous` | | Select the previous option.
|
||||
| `select_next` | | Select the next option.
|
||||
| `select_first` | | Select the first option.
|
||||
| `select_last` | | Select the last option.
|
||||
| `reload` | | Reload `input_select` configuration |
|
||||
|
||||
#### Service `input_select.select_next`
|
||||
|
||||
Select the next option.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `cycle` | yes | Whether to cycle to the first value after the last. Default: `true`
|
||||
|
||||
#### Service `input_select.select_previous`
|
||||
|
||||
Select the previous option.
|
||||
|
||||
| Service data attribute | Optional | Description |
|
||||
| ---------------------- | -------- | ----------- |
|
||||
| `cycle` | yes | Whether to cycle to the last value before the first. Default: `true`
|
||||
|
||||
### Scenes
|
||||
|
||||
Specifying a target option in a [Scene](/integrations/scene/) is simple:
|
||||
|
Loading…
x
Reference in New Issue
Block a user