rule "Send telegram Fridge"
when
Item vFridge changed
then
if( vFridge.state < 350 && previousState >= 350 )
sendTelegram( "bot1", "Fridge OFF" )
end
There is one condition that may still lead to a large number of telegrams: if you fridge hovers/oscillates around 350 you will get a telegram every time it gets below 350. Not sure if this relevant, but I thought I’d mention it.