mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +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
|
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
|
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.
|
automations by using them in their conditions.
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
@ -74,14 +74,14 @@ Home Assistant itself.
|
|||||||
|
|
||||||
### Restore State
|
### 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
|
set to that value. Otherwise, it will restore the state it had prior to
|
||||||
Home Assistant stopping.
|
Home Assistant stopping.
|
||||||
|
|
||||||
## Automation Examples
|
## Automation Examples
|
||||||
|
|
||||||
Here's an example of an automation using the above `input_boolean`. This action
|
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
|
```yaml
|
||||||
automation:
|
automation:
|
||||||
|
@ -85,7 +85,7 @@ automations and templates.
|
|||||||
|
|
||||||
### Restore State
|
### 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
|
### Services
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ ha_codeowners:
|
|||||||
ha_domain: input_select
|
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.
|
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
|
### 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
|
### Services
|
||||||
|
|
||||||
@ -146,7 +146,7 @@ automation:
|
|||||||
option: Paulus
|
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
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
@ -128,10 +128,6 @@ action:
|
|||||||
media_content_type: channel
|
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
|
## Services
|
||||||
|
|
||||||
### Service `roku.search`
|
### Service `roku.search`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user