core/tests/components/alexa
Abílio Costa ead38f6005 Proactive Alexa ChangeReport messages (#18114)
* Alexa: implement auth and proactive ChangeReport messages

* refactor after rebase from dev to use the new AlexaDirective and Response classes

* move to aiohttp; cleanup

* better function name

* move endpoint to config

* allow passing token function

* remove uneeded state get

* use iterable directly

Co-Authored-By: abmantis <abmantis@users.noreply.github.com>

* missing delete from previous commit

* checks for when user has no auth config

* update cloud component

* PR suggestions

* string lint

* Revert "string lint"

This reverts commit a05a1f134c9ebc7a6e67c093009744f142256365.

* linters are now happier

* more happy linters

* use internal date parser; improve json response handling

* remove unused import

* use await instead of async_add_job

* protect access token update method

* add test_report_state

* line too long

* add docstring

* Update test_smart_home.py

* test accept grant api

* init prefs if None

* add tests for auth and token requests

* replace global with hass.data

* doc lint
2019-01-03 22:28:43 +01:00
..
__init__.py Break up Alexa per functionality (#9400) 2017-09-12 21:24:44 +02:00
test_flash_briefings.py No more opt-out auth (#18854) 2018-12-02 16:32:53 +01:00
test_intent.py Legacy api fix (#18733) 2018-11-27 10:41:44 +01:00
test_smart_home.py Proactive Alexa ChangeReport messages (#18114) 2019-01-03 22:28:43 +01:00