JsBergbau / MiTemperature2

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

syntaxError #43

Closed effendieffendi closed 4 years ago

effendieffendi commented 4 years ago

Hi,

I can't get a virtual sensor on Supla With a command:

./LYWSD03MMC.py -d A4:C1:38:AA:6E:C6 -r -b

I get the response:

File "./LYWSD03MMC.py", line 20 temperature: float ^ SyntaxError: invalid syntax

Any help?

JsBergbau commented 4 years ago

Please execute python --version Your version must be at least 3,7 or above.