* Check access token expires before we use it.If we found access token expires, we proactive call refresh token.So that we can avoid uncessary invalid auth error in backend. * Move expires calc to fetchToken() and refresToken() * Address code review comment
Home Assistant Polymer 
This is the repository for the official Home Assistant frontend.
- View demo of the Polymer frontend
- More information about Home Assistant
- Frontend development instructions
License
Home Assistant is open-source and Apache 2 licensed. Feel free to browse the repository, learn and reuse parts in your own projects.
Description
Languages
TypeScript
93.4%
JavaScript
6.5%
Shell
0.1%