jrester / tesla_powerwall

Python API for Tesla Powerwall
MIT License
73 stars 24 forks source link

Added handling of patch number in version #9

Closed z00nx closed 4 years ago

z00nx commented 4 years ago

I've got a Powerwall where the version has a patch number.

>>> power_wall.get_status()['version']
'1.46.0-W'

This pull request will handle pining of versions which contains a patch number by removing it.

jrester commented 4 years ago

Great, thanks!

z00nx commented 4 years ago

@jrester Thanks for accepting my pull request Would it be possible to make a tagged release with this change ? I came across this issue in HomeAssistant and was hoping to submit a pull request with a library version which resolves this issue.

jrester commented 4 years ago

I have updated the version to 0.2.11 and it is live on PyPI

z00nx commented 4 years ago

Thanks