Hi folks,
I’m really new in HA and got some troubles with the template stuff…
I’ve built a weather station using a esp and some sensors, one of the sensors is a anemometer from which i just count the rotations and send it with mqtt to my HA which is hosted on a rpi3.
I dont thought it would be some trouble to convert the rps to km/h or m/s, but i cant get it run…
the formular is 1.761/(1+rps)+3.013*rps
if i try it with the template tool everything works fine:
i think the template increase itselfs everytime. Is there a way to declare a variable in the template or someone of you got a plan how i can handle that?
thx for the fast reply, i’ve tried both of yours but get the same error:
Error loading /config/configuration.yaml: while scanning for the next token
found character '\t' that cannot start any token
in "/config/configuration.yaml", line 79, column 1