Matter Device Classification