Allow templates for enabling actions (#32772)

This commit is contained in:
Matthias Alphart 2024-05-15 21:05:37 +02:00 committed by GitHub
parent b580d022c7
commit 2c895a19e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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