added off command and offUntil setting