waspie
(scott dee)
2
I thought I had tried this already but maybe not…
anyway, this thread has the answer:
So my
var setpointMA = VT_Setpoint_Master.state as DecimalType
needs to become
var Number setpointMA = (VT_Setpoint_Master.state as QuantityType<Number>).doubleValue