UoM calculations

Better to calculate with the quantities with units.

Also shows you how to get “just the number” in the unit of your choice, if you rally must go that way.

var Number tempC= (Buderus_Aussentemperatur.state as QuantityType<Temperature>).toUnit("°C")  
// that gets temp in C regardless of original unit
var Number hyst = temp + 0.3 | °C
// that adds a quantity in C, result is a quantity in C
logInfo("loggerName", "message: "+  hyst + "  " + temp)

EDIT - my mistake, do not use var Number here, just var will do