AnthonyKNorman / Xiaomi_LYWSD03MMC_for_HA

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

Fix for prettify #6

Open VladoPortos opened 4 years ago

VladoPortos commented 4 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