enocean
enocean copied to clipboard
Attempt to decode command from packet
If the EEP specifies a command but none is passed to the decoding function, attempt to extract the correct command index from the packet instead. This ensures that received packets are assigned the correct command.