Closed joro75 closed 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.
For parsing the version number in python3, see: https://stackoverflow.com/questions/11887762/how-do-i-compare-version-numbers-in-python
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.