Files
ha_xiaomi_home/custom_components/xiaomi_home/miot
Li Ji 89352d372a fix: drop non-UTF-8 cloud mips message instead of crashing mqtt loop (#1750)
MipsCloudClient._on_mips_message decodes the push payload with a bare
payload.decode('utf-8'). Some cloud pushes carry payloads that are not
valid UTF-8, which raises UnicodeDecodeError inside paho's on_message,
aborts the read loop and silently drops the message. Lost device
online/offline pushes can leave a device stuck unavailable until the
config entry is reloaded manually.

Catch UnicodeDecodeError, log the topic and the payload hex for
diagnosis, and skip the message so that one malformed push cannot
break message processing.

Related to #1749
2026-09-24 10:54:13 +08:00
..
2026-01-07 10:04:42 +08:00
2026-09-23 14:29:08 +08:00
2025-10-13 17:11:30 +08:00