core/tests/components/cloud
Tobias Sauerwein 81ad56b8ad
Add events on cloud connect and disconnect (#65215)
* Add events on cloud connect and disconnect

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Use event capture helper

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Provide listener method instead of public event

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add test for disconnect notification

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use Enum

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Add module level api

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Clean up dead code

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Flake8

Signed-off-by: cgtobi <cgtobi@gmail.com>

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-02 18:11:06 +01:00
..
__init__.py Bump cloud to 0.47.1 (#55312) 2021-09-01 09:54:54 -07:00
conftest.py Bump hass-nabucasa 49 (#55823) 2021-09-06 16:05:33 -07:00
test_account_link.py Fix device discovery of OAuth2 config flows (#48326) 2021-03-25 10:35:01 -07:00
test_alexa_config.py Enable Alexa state reporting by default (#63802) 2022-01-17 23:01:43 -08:00
test_binary_sensor.py Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
test_client.py Enable Alexa state reporting by default (#63802) 2022-01-17 23:01:43 -08:00
test_google_config.py Add entity category 'system' (#58595) 2021-10-28 14:36:41 +02:00
test_http_api.py Expose if HTTP is configured for SSL (#64940) 2022-01-26 09:34:48 +01:00
test_init.py Add events on cloud connect and disconnect (#65215) 2022-02-02 18:11:06 +01:00
test_prefs.py Cloud: Expose if google is registered in status + check on login (#48260) 2021-03-29 19:26:51 +02:00
test_system_health.py Add remote server to cloud system health (#55506) 2021-09-01 13:23:50 +02:00
test_tts.py Cloud: Add web socket API to pick default TTS language (#45064) 2021-01-13 00:05:30 +01:00