I'm not a python programmer so just followed the format of other entries without knowing how they work.
in /etc/wfrog/wfrender/templates/default/main.html I added the line:
"UV <span class="value">$rnd($current.UV_INDEX, 1)</span><br>" after Rain in the header
and in /etc/wfrog/wfrender/config/default/current.yaml
"UV_INDEX: !value { key: UV_INDEX }" after rain
This causes a 500 error so checking In /var/log/wfrender.log:
> ERROR [renderer.http] 'UV_INDEX;
> Traceback (most recent call last):
> (etc)
> "/usr/lib/wfrog/wfrender/renderer/value.py", line 61, in render
> return wfcommon.units.Converter(context["units"]).convert(self.key, data[self.key][val_key])
> KeyError 'UV_INDEX'
Using as Firebird database with "UV_INDEX" as the column name
Assuming either incorrect usage in my modifications or that more changes are required?