- refactor total smartDevice