refactoring: use CommandClass enum
allow filtering device values by value index