[PATCH] Add a new selectorFromDevice method to the accordion.