Closed brg468 closed 4 months ago
Thanks for modifying those, it all looks like it should be good to me now.
Hi!
I noticed this PR hasn't been merged yet. I'm eager to see these changes implemented! Is there anything missing or any blockers that need addressing? If there's any way I can help, please let me know—I’d be happy to help!
Thanks! 😊
This should address the issues mentioned here https://github.com/SecKatie/ha-wyzeapi/issues/567.
The current token refresh interval isn't sufficient, even though the documentation says 48 hours the token seems to expire after 24. This lowers the interval, as well as updates the token on startup so it should stay current. In the event it does expire, it can be updated on the fly. I've been running this setup for months now and forgot to open a PR for it. 😛. Open to alternatives if there's something more elegant.