Hi!
I am using self made ESP sensors with MQTT discovery to easily assign them as a device. Everything works flawlessly except one thing - when I want to make discovery script (in HASS), just to have some backup in case of MQTT broker failure, I use following part to change readout of my ESP:
"value_tepmplate": "{{(float(value)*0.007142857143) | round(2)}}"
The problem is Home Assistant doesn’t allow me to send payload with such statement because " ‘value’: is undefined".
Of course there is no problem with sending such a payload with MQTT Explorer or python - the sensor is then read out without problem.
Is there any workaround to NOT use … {{value}} … as a variable - just want HASS to treat payload as plain text.