I have a KNX device (Steinel True Presence) that reports some air-quality value (= VOC
).
According to the KNX manual the values range from 0 - 2000 pbb
and are encoded with KNX DPT 9.xxx
, which is a generic DPT for floating point values.
Unfortunately I didn’t find a straight-forward way to have this data available in Home Assistant with the correct unit of measurement, etc. According to this table, there is no inherent support for ppb
(parts per billion).
What is the best way to get this data into Home Assistant and have it represented correctly in the dashboard? When assigning the generic 2byte_float
data type, then the value has no unit and is mis-represented in the dashboard:
Rather than having this weird graph for data that can easily be plotted over time, I would like to have this view (e.g. for the CO2 reading, which is 9.008
i.e. ppm
):
Is is possible to have such a datatype, even though there is no dedicated DPT for it?
Or do I have to work around this with some template sensor?