mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update input_text.markdown (#10800)
Adds documentation for improved scene support in input_text.
This commit is contained in:
parent
fc22f519f4
commit
ba98d2bff0
@ -81,6 +81,18 @@ This integrations provide three services to modify the state of the `input_text`
|
||||
|
||||
This integration will automatically restore the state it had prior to Home Assistant stopping as long as your entity does **not** have a set value for `initial`. To disable this feature, set a valid value for `initial`.
|
||||
|
||||
### Scenes
|
||||
|
||||
To set the state of the input_text in a [Scene](/integrations/scene/):
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
scene:
|
||||
- name: Example1
|
||||
entities:
|
||||
input_text.example: Hello!
|
||||
```
|
||||
|
||||
## Automation Examples
|
||||
|
||||
Here's an example using `input_text` in an action in an automation.
|
||||
|
Loading…
x
Reference in New Issue
Block a user