I want to create a blueprint with number variable input and then in the template add a number to this variable.
I tried this:
blueprint:
name: test
description: test
domain: automation
input:
number_input:
name: min
default: 0
selector:
number:
mode: box
variables:
number: !input number_input
trigger:
- platform: time_pattern
minutes: '/5'
action:
- service: number.set_value
data_template:
value: >
{{ 100 + states(number) }}
Error: Error rendering data template: AttributeError: ‘int’ object has no attribute ‘lower’