code: @Command(name = STATE_NAME, outTypeDesc = "Device state")
      public DevState executeStateCmd() throws DevFailed {
          MDC.setContextMap(contextMap);
          xlogger.entry();
          xlogger.exit();
          return getState();
      }
docs: Command State
  
  @return the state
  @throws DevFailed