I noticed that using minimal jinja template to provide a value for a data param in action in Blueprint throws an error. The only difference in this test is {{ 50 }}
instead of 50
.
Minimal example
Code below works without problems
action:
- service: light.turn_on
target: !input light_target
data:
brightness: 50
Code below generates error: Invalid blueprint: required key not provided @ data['blueprint']. Got None
action:
- service: light.turn_on
target: !input light_target
data:
brightness: {{ 50 }}
What I am doing wrong? The same behavior is for {{ (50) }}
.
It’s a super simplified example, since I struggled with similar error while using variables and calculations. This minimal example crashes bluepring loader.