mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Instructions on how to add input booleans via UI (#13267)
This commit is contained in:
parent
205af342f7
commit
3806eac05c
@ -12,7 +12,9 @@ ha_domain: input_boolean
|
|||||||
|
|
||||||
The `input_boolean` integration allows the user to define boolean values that can be controlled via the frontend and can be used within conditions of automation. This can for example be used to disable or enable certain automations.
|
The `input_boolean` integration allows the user to define boolean values that can be controlled via the frontend and can be used within conditions of automation. This can for example be used to disable or enable certain automations.
|
||||||
|
|
||||||
To enable input booleans in your installation, add the following lines to your `configuration.yaml`:
|
The preferred way to configure input booleans is via the user interface at **Configuration** -> **Helpers**. Click the add button and then choose the "**Toggle**" option.
|
||||||
|
|
||||||
|
Input booleans can also be configured via `configuration.yaml`:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
|
Loading…
x
Reference in New Issue
Block a user