nathanvdh / homeassistant-airtouch2plus

Custom component integration for Polyaire Airtouch 2+
10 stars 2 forks source link

Unknown message type 0x27 #4

Open nathanvdh opened 4 months ago

nathanvdh commented 4 months ago
2024-03-10 10:18:07.586 WARNING (MainThread) [airtouch2.protocol.at2plus.message_common] Unknown message type in header (0x27)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/airtouch2/protocol/at2plus/message_common.py", line 73, in from_bytes
    type = MessageType(header_bytes[CommonMessageOffsets.MESSAGE_TYPE])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 744, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 1158, in __new__
    raise ve_exc
ValueError: 39 is not a valid MessageType
2024-03-10 10:18:07.589 WARNING (MainThread) [airtouch2.at2plus.At2PlusClient] Unknown message type, header=55:55:b0:80:01:00:00:01, data=01

Discussed briefly previously here: https://github.com/nathanvdh/airtouch2-python/issues/6#issuecomment-1545512952