pub fn decode(dpt: &str, d: &Data) -> Result<Value>
Decode as DPT dpt, when the data has the right shape for it.
dpt