insert into macroheader values ('UPDATE ALL LIGHT KEY','WATCH LIGHT VAR',0,0,1); insert into macrodetail values ('UPDATE ALL LIGHT KEY',1,38,'',1,'if("{LIGHT STATUS}"="Off",ph_insteongroup("ALL LIGHT STATUS",ifastoff,0),ph_insteongroup("ALL LIGHT STATUS",ifaston,0))',0,'');