mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 15:56:51 +00:00
Update input_number.markdown (#10802)
Add documentation for improved support for input_number in scenes.
This commit is contained in:
parent
ba98d2bff0
commit
92debf9a15
@ -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`.
|
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
|
## Automation Examples
|
||||||
|
|
||||||
Here's an example of `input_number` being used as a trigger in an automation.
|
Here's an example of `input_number` being used as a trigger in an automation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user