Hello [CODE]if GetLightingState("all off") = ON then begin SetLightingState("all off", OFF); SetScene("all off but bulbs"); SetScene("bulbs ramp off"); end; Delay(1);[/CODE] Where "all off" - it's group, binded to DLT switch button with function "on" It works good about 20 hours. Next day logic stop working. I press button, its becomes ON, but [CODE]SetLightingState("all off", OFF);[/CODE] (first string in BEGIN - END ) not worked and button still ON forever What can it be?