2bd9f5680d
* Add report state config * Add initial steps for local report state * Use owner of system as user_id * First working prototype * Only report state if requested * Add some good logging and adjust constant name * Move jwt generation out to non member * Move cache out to caller * Remove todo about cache * Move getting token out of class * Add timeout on calls * Validate config dependency * Support using service key to do sync call when api_key is not set * Make sure timezone is fixed for datetime dummy * Use exact expire_in time * Support renewing token on 401 * Test retry on 401 * No need to declare dummy key twice * Correct some docs on functions * Add test for token expiry |
||
---|---|---|
.. | ||
__init__.py | ||
const.py | ||
error.py | ||
helpers.py | ||
http.py | ||
manifest.json | ||
report_state.py | ||
services.yaml | ||
smart_home.py | ||
trait.py |