issues
search
jasonacox
/
pypowerwall
Python API for Tesla Powerwall and Solar Power Data
MIT License
123
stars
21
forks
source link
Updates to __init__ and poll()
#8
Closed
wcwong
closed
2 years ago
wcwong
commented
2 years ago
Closes #5
Added pwcacheexpire to
init
to allow adjustment of the cache time
Added timeout to
init
to allow adjustment of the http timeout
added force to pol() to bypass the cache regardless of the timeout
moved the check for the vitals to after the cache check (minor optimization)
wcwong
commented
2 years ago
Let me know if I got this right...
jasonacox
commented
2 years ago
Thank you @wcwong !! Great job!