[SOLVED] Homematic QuantityType in M6 build problem

Wow!!! Use a timer. See:

This is where your problem may lay:

		WZ1_Heizung_SetTemp.sendCommand((WZ1_Heizung_PresetTemp.state as QuantityType<Number>).doubleValue)

If WZ1_Heizung_SetTemp is a Number:Temperature then you need to convert it to a DecimalType
Converting it to a Number Type will not change anything as a QuantityType is a child of Number TYpe