Add command and sensor