-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
I use rflink integration in my HA setup and often get this in HA log:
2020-01-22 07:49:56 ERROR (MainThread) [rflink.protocol] failed to parse packet: None
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/rflink/protocol.py", line 152, in handle_raw_packet
packet = decode_packet(raw_packet)
File "/usr/local/lib/python3.7/site-packages/rflink/parser.py", line 308, in decode_packet
key, value = attr.lower().split("=")
ValueError: too many values to unpack (expected 2)
Obvoiusly there is no impact on the functionality, but the messages flood the log.
I hope it's possible to rewrite the code so it account for situations like this.
Metadata
Metadata
Assignees
Labels
No labels