Open novski opened 11 months ago
Found this: https://github.com/flyte/mqtt-io/issues/209 added this to my supervisor config and then it worked: command = /home/myuser/mqtt-io/.venv/bin/python -m mqtt_io mqtt-io_config.yaml --render render.yaml
cat ~/mqtt-io/render.yaml
backends:
my_env:
type: env
Seams like the pullrequest was integrated, but jinja2 doesn't work by default on my side. How can I provide more help to debug?
I am trying to setup a value that I can reuse in config. I have multiple sensors and would like them all to have the same interval value. So I tried to use Jinja2, but the config does not load. This is my line of code:
{% set myinterval = 60 %}
and reuse like this{{ myinterval }}
. How can I make a variable available over all config sensor entries?