public JSONObject getCarpetModeState ( ) throws CommandExecutionException { JSONArray ret = sendToArray ( "get_carpet_mode" ) ; if ( ret == null ) return null ; return ret . optJSONObject ( 0 ) ; }
Get the current carpet cleaning settings .