JsBergbau / MiTemperature2

Read the values of the Xiaomi Mi Bluetooth Temperature sensor 2 including custom encrypted format.
705 stars 162 forks source link

Fix checking of "two point calibration" arguments #101

Closed NordMike closed 3 years ago

NordMike commented 3 years ago

The checking should compare arguments with None (a default value). Otherwise a value 0 can't be set by a user as it is equal to False.

JsBergbau commented 3 years ago

Thanks for fixing this.