joro75 / Domoticz-Toyota-Plugin

A Domoticz plugin that provides devices for a Toyota car with connected services
MIT License
6 stars 1 forks source link

Update to mytoyota 0.8 #41

Closed joro75 closed 2 years ago

joro75 commented 2 years ago

Update to mytoyota 0.8 Also include a version check on the mytoyota library. If the version is lower than 0.8, include an error in the log. If the version number cannot be determined it is below 0.8.

joro75 commented 2 years ago

Also should include a remark in the README.md, that mytoyota >= 0.80 is required, and that a check is performed during the start of the plugin, and that a debug message is included in the domoticz log if the required version of mytoyota is not satisfied.

joro75 commented 2 years ago

For parsing the version number in python3, see: https://stackoverflow.com/questions/11887762/how-do-i-compare-version-numbers-in-python