mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Add config flow for switch platform in Template (#33669)
This commit is contained in:
parent
77410e8178
commit
fab6e3534b
@ -7,6 +7,7 @@ ha_release: 0.13
|
||||
ha_iot_class: Local Push
|
||||
ha_quality_scale: internal
|
||||
ha_domain: template
|
||||
ha_config_flow: true
|
||||
---
|
||||
|
||||
The `template` platform creates switches that combines components.
|
||||
@ -15,7 +16,19 @@ For example, if you have a garage door with a toggle switch that operates the mo
|
||||
|
||||
This can simplify the GUI and make it easier to write automations.
|
||||
|
||||
## Configuration
|
||||
{% include integrations/config_flow.md %}
|
||||
|
||||
{% important %}
|
||||
To be able to add **{% my helpers title="Helpers" %}** via the user interface, you should have `default_config:` in your {% term "`configuration.yaml`" %}. It should already be there by default unless you removed it.
|
||||
{% endimportant %}
|
||||
|
||||
{% note %}
|
||||
Configuration using our user interface provides a more limited subset of options, making this integration more accessible while covering most use cases.
|
||||
|
||||
If you need more specific features for your use case, the manual [YAML-configuration section](#yaml-configuration) of this integration might provide them.
|
||||
{% endnote %}
|
||||
|
||||
## YAML Configuration
|
||||
|
||||
To enable Template Switches in your installation, add the following to your {% term "`configuration.yaml`" %} file:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user