Working with Number:Temperature item type

You can do it in the other way::

var Number tempSalon = (TemperatureSalon.state as QuantityType<Number>).doubleValue

This is what I am using. I suppose that I get the value in the unit the item was last set.

1 Like