public boolean resetConsumable ( VacuumConsumableStatus . Names consumable ) throws CommandExecutionException { if ( consumable == null ) throw new CommandExecutionException ( CommandExecutionException . Error . INVALID_PARAMETERS ) ; JSONArray params = new JSONArray ( ) ; params . put ( consumable . toString ( ) ) ; return sendOk ( "reset_consumable" , params ) ; }
Reset a vacuums consumable .