To prefend my toast from burning the toaster will shut down after 10 minutes:rule "Black Tosti" when Item TostiIjzer_Switch changed to ON then {createTimer(now.plusMinutes(10),[|TostiIjzer_Switch.sendCommand (OFF)])} end