Hi there,
What I want:
I want to calculate a number and set a variable with this calculated number.
i have the following script which is working fine.
entity_id: input_number.solar_bewertung_ubermorgen
value: >-
{{ ((solar_ertrag_ubermorgen-Eingabemin) * (Zielmax-Zielmin) /
(Eingabemax-Eingabemin)+Zielmin ) | round(1) }}
action: input_number.set_value
but want to create a blueprint with this calculation. But i cant add it to an automation .
is it even possible and what have to be the changes to do so.
help would be much appreciated :=
regards
E