updated timedtasks

added publishAnalog for lighting mode, might work? 
needs testing