@classmethod
def from_knx(cls, raw):
    """Parse/deserialize from KNX/IP raw data."""
    cls.test_bytesarray(raw, cls.payload_length)
    value = str()
    for byte in raw:
        if byte != 0:
            value += chr(byte)
    return value
