Update input_text.markdown (#10800)

Adds documentation for improved scene support in input_text.
This commit is contained in:
Rolf K 2019-10-16 22:13:15 +02:00 committed by Franck Nijhof
parent fc22f519f4
commit ba98d2bff0

View File

@ -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.