AnthonyKNorman / Xiaomi_LYWSD03MMC_for_HA

Collecting data via Bluetooth from the Xiaomi LYWSD03MMC Temperature Display using ESP32 running Micropython
51 stars 7 forks source link

Fix for prettify #6

Open VladoPortos opened 3 years ago

VladoPortos commented 3 years ago

prettify function would rerun mac address with gap in the address if the address b' value looks like this for example: b'\xa4\xc18\xd4\x04\xd0' would return: a4:c1:38:d4: 4:d0