Update input_number.markdown (#10802)

Add documentation for improved support for input_number in scenes.
This commit is contained in:
Rolf K 2019-10-16 22:14:58 +02:00 committed by Franck Nijhof
parent ba98d2bff0
commit 92debf9a15

View File

@ -77,6 +77,18 @@ input_number:
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 value of an input_number in a [Scene](/integrations/scene/):
```yaml
# Example configuration.yaml entry
scene:
- name: Example Scene
entities:
input_number.example_number: 13
```
## Automation Examples
Here's an example of `input_number` being used as a trigger in an automation.