wiewior
(Jacek)
12
I think I found the answer after few long minutes of reserach in older posts.
Thank you @ rossko57 for this nice explenation!
I converted my line to:
val currentTemperature = (RaspberryPiSystem_CPU_Temperature.state as QuantityType<Number>).toBigDecimal
and my comparison works. Let me post my ready rule when it is finished.