Connecting Xiaomi temperature sensors to MQTT... please help

Please post your code properly. Point 11 here.