hello, i’m trying to add a rule to notify on my mobile device when the temperature in the main room is going down below 20°C, but it doesn’t work.
this the rule:
rule "Notifica abbassamento temperatura sala"
Item iSala_Actual_Temp changed
if ( iSala_Actual_Temp.state < 20 )
logInfo("AbbassamentoTemperatura", "Temperatura sotto i 20")
sendBroadcastNotification("La temperatura di casa sta cadendo a picco")
It seems quite clumsy to me, but appears to be the way to get 22.1 out of 22.1°C
The QuantityType<Number> is the de-temperature-izing part, but why that doesn’t give a straight Number type I do not know.