Good evening!
I have this as an action in an automation
data_template:
command: >
{% set Data = states('sensor.1_utetemp_355') %} {% set output =
'setvar=:=UTETEMP=:='+Data %} {{output}}
service: joaoapps_join.pixel_3_xl_send_tasker
It works as intended and sends
setvar=:=UTETEMP=:=3.0
to tasker on my phone.
How do I round the number at the end, so that it becomes
setvar=:=UTETEMP=:=3
I have searched the forum and played around in the template editor, but I cant find the solution.
Sorry if my english is bad, writing from sweden.