mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Merge branch 'current' into next
This commit is contained in:
commit
a3890606ad
@ -12,7 +12,7 @@ ha_domain: input_boolean
|
||||
|
||||
The Input Boolean helper integration allows you to define boolean values that
|
||||
can be controlled via the user interface and can be used within conditions of
|
||||
automation. This can for example be used to disable or enable certain
|
||||
an automation. This can for example be used to disable or enable certain
|
||||
automations by using them in their conditions.
|
||||
|
||||
## Configuration
|
||||
@ -74,14 +74,14 @@ Home Assistant itself.
|
||||
|
||||
### Restore State
|
||||
|
||||
If you set a valid value for `initial` this integration will start with state
|
||||
If you set a valid value for `initial` this integration will start with the state
|
||||
set to that value. Otherwise, it will restore the state it had prior to
|
||||
Home Assistant stopping.
|
||||
|
||||
## Automation Examples
|
||||
|
||||
Here's an example of an automation using the above `input_boolean`. This action
|
||||
will only occur if the switch is on.
|
||||
will only occur if the `input_boolean` is on.
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
|
@ -85,7 +85,7 @@ automations and templates.
|
||||
|
||||
### Restore State
|
||||
|
||||
If you set a valid value for `initial` this integration will start with state set to that value. Otherwise, it will restore the state it had prior to Home Assistant stopping.
|
||||
If you set a valid value for `initial` this integration will start with the state set to that value. Otherwise, it will restore the state it had prior to Home Assistant stopping.
|
||||
|
||||
### Services
|
||||
|
||||
|
@ -10,7 +10,7 @@ ha_codeowners:
|
||||
ha_domain: input_select
|
||||
---
|
||||
|
||||
The `input_select` integration allows the user to define a list of values that can be selected via the frontend and can be used within conditions of automation. When a user selects a new item, a state transition event is generated. This state event can be used in an `automation` trigger.
|
||||
The `input_select` integration allows the user to define a list of values that can be selected via the frontend and can be used within conditions of an automation. When a user selects a new item, a state transition event is generated. This state event can be used in an `automation` trigger.
|
||||
|
||||
The preferred way to configure an input select is via the user interface at **Configuration** -> **Helpers**. Click the add button and then choose the **Dropdown** option.
|
||||
|
||||
@ -69,7 +69,7 @@ Because YAML defines [booleans](https://yaml.org/type/bool.html) as equivalent,
|
||||
|
||||
### Restore State
|
||||
|
||||
If you set a valid value for `initial` this integration will start with state set to that value. Otherwise, it will restore the state it had prior to Home Assistant stopping.
|
||||
If you set a valid value for `initial` this integration will start with the state set to that value. Otherwise, it will restore the state it had prior to Home Assistant stopping.
|
||||
|
||||
### Services
|
||||
|
||||
@ -146,7 +146,7 @@ automation:
|
||||
option: Paulus
|
||||
```
|
||||
|
||||
To dynamically set the `input_select` options you can call `input_select.set_options`. The following example can be used in an automation rule:
|
||||
To dynamically set the `input_select` options you can call `input_select.set_options` in an automation:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
|
@ -128,10 +128,6 @@ action:
|
||||
media_content_type: channel
|
||||
```
|
||||
|
||||
## Remote
|
||||
|
||||
The `remote` platform allows you to send keypress commands to your device. Remote entities are automatically registered during the integration setup.
|
||||
|
||||
## Services
|
||||
|
||||
### Service `roku.search`
|
||||
|
Loading…
x
Reference in New Issue
Block a user