core/tests/components/google_assistant
Joakim Plate 2bd9f5680d Report state (#27759)
* 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
2019-10-18 22:37:44 -07:00
..
__init__.py Google Assistant Local SDK (#27428) 2019-10-13 14:16:27 -07:00
test_google_assistant.py Remove direct authentication via trusted networks or API password (#27656) 2019-10-14 14:56:45 -07:00
test_helpers.py Google Assistant Local SDK (#27428) 2019-10-13 14:16:27 -07:00
test_http.py Report state (#27759) 2019-10-18 22:37:44 -07:00
test_init.py Add Google Report State (#27112) 2019-10-03 13:02:38 +02:00
test_report_state.py Google: catch query not supported (#27559) 2019-10-12 14:07:01 -07:00
test_smart_home.py Google Assistant Local SDK (#27428) 2019-10-13 14:16:27 -07:00
test_trait.py Google Assistant Local SDK (#27428) 2019-10-13 14:16:27 -07:00