mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Allow templates for enabling actions (#32772)
This commit is contained in:
parent
b580d022c7
commit
2c895a19e5
@ -916,6 +916,25 @@ script:
|
||||
entity_id: light.ceiling
|
||||
```
|
||||
|
||||
Actions can also be disabled based on limited templates or blueprint inputs.
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
blueprint:
|
||||
input:
|
||||
input_boolean:
|
||||
name: Boolean
|
||||
selector:
|
||||
boolean:
|
||||
|
||||
action:
|
||||
- delay: 0:35
|
||||
enabled: !input input_boolean
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
||||
## Respond to a conversation
|
||||
|
||||
The `set_conversation_response` script {% term action %} allows returning a custom response
|
||||
|
Loading…
x
Reference in New Issue
Block a user