mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Select entity: add state (#34792)
This commit is contained in:
parent
c7b7f88555
commit
506dcd4221
@ -11,16 +11,25 @@ ha_codeowners:
|
||||
ha_integration_type: entity
|
||||
---
|
||||
|
||||
Keeps track on `select` entities in your environment, their state, and allows
|
||||
The **Select** {% term integration %} keeps track of the `select` {% term entities %} in your environment, their state, and allows
|
||||
you to control them. This integration allows other integrations to offer
|
||||
a limited set of selectable options for the entity.
|
||||
|
||||
{% include integrations/building_block_integration.md %}
|
||||
|
||||
## The state of a select entity
|
||||
|
||||
The state of a select entity is the value of the currently selected option.
|
||||
|
||||
<p class='img'>
|
||||
<img src='/images/integrations/select/state_select.png' alt='Screenshot showing the state of a select entity in the developer tools' />
|
||||
Screenshot showing the state of a select entity in the developer tools.
|
||||
</p>
|
||||
|
||||
## Actions
|
||||
|
||||
The select entity exposes additional actions to control the entity in, for example,
|
||||
automation or scripts. These actions can be created via the UI, but are
|
||||
The select {% term entity %} exposes additional {% term actions %} to control the entity in, for example,
|
||||
{% term automation %} or {% term scripts %}. These actions can be created via the UI, but are
|
||||
also available in YAML (for which examples are provided below).
|
||||
|
||||
### Action `select.select_first`
|
||||
|
BIN
source/images/integrations/select/state_select.png
Normal file
BIN
source/images/integrations/select/state_select.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 106 KiB |
Loading…
x
Reference in New Issue
Block a user