Erik Montnemery
b7284b92ac
Clean up Alexa when logging out from cloud ( #109738 )
...
* Clean up Alexa when logging out from cloud
* Add test
2024-02-05 23:58:34 +01:00
Erik Montnemery
30710815f0
Add test of remote enabling of remote UI ( #109698 )
2024-02-05 13:07:57 +01:00
Erik Montnemery
816c2e9500
Improve enabling of Google local fulfillment ( #109192 )
...
* Improve enabling of Google local fulfillment
* Add test
* Improve test coverage
2024-01-31 16:28:27 +01:00
Joakim Sørensen
5b4000e759
Bump hass-nabucasa from 0.74.0 to 0.75.1 ( #105958 )
...
* Bump hass-nabucasa from 0.74.0 to 0.75.1
* Force sorting of parametrized test
* Simplify async_create_issue.severity
* use fixtures
2023-12-19 13:08:27 +01:00
Jan-Philipp Benecke
9ab1cb83d8
Update a-c* tests to use entity & device registry fixtures ( #103793 )
...
* Update a-c* tests to use entity & device registry fixtures
* Revert some changes
* Revert formatting
* retrigger CI
2023-11-12 13:45:30 -05:00
Joakim Sørensen
2859055b36
Add instance id to the cloud integration ( #103162 )
2023-11-07 23:52:18 +01:00
Joakim Sørensen
7042a02d72
Add remote alias to connection info response ( #99410 )
2023-08-31 10:43:32 -04:00
Joakim Sørensen
db01aecb02
Add contents to connection_info handler in cloud client ( #95059 )
2023-06-27 17:45:41 +02:00
Erik Montnemery
b600c2cd85
Add cloud_connected method to CloudClient ( #91997 )
...
* Add cloud_connected method to CloudClient
* Add cloud_disconnected method
* Update client.py
2023-06-20 17:15:13 +02:00
Erik Montnemery
31de1b17e8
Allow setting google disable 2fa flag on any entity ( #92403 )
...
* Allow setting google disable 2fa flag on any entity
* Fix test
* Include disable_2fa flag in cloud/google_assistant/entities/get
2023-05-03 09:55:38 -04:00
Erik Montnemery
4860a8d1e8
Don't use storage collection helper in ExposedEntities ( #92396 )
...
* Don't use storage collection helper in ExposedEntities
* Fix tests
2023-05-03 12:39:22 +02:00
Erik Montnemery
e3c16e634b
Allow exposing entities not in the entity registry to assistants ( #92363 )
2023-05-02 22:08:09 +02:00
Erik Montnemery
ed737f306b
Remove cloud assist pipeline setup from cloud client ( #92056 )
2023-04-26 06:53:58 -04:00
Erik Montnemery
57a59d808b
Automaticially create an assist pipeline using cloud stt + tts ( #91991 )
...
* Automaticially create an assist pipeline using cloud stt + tts
* Return the id of the cloud enabled pipeline
* Wait for platforms to load
* Fix typing
* Fix startup race
* Update tests
* Create a cloud pipeline only when logging in
* Fix tests
* Tweak _async_resolve_default_pipeline_settings
* Improve assist_pipeline test coverage
* Improve cloud test coverage
2023-04-25 20:40:01 -05:00
Erik Montnemery
44c89a6b6c
Refactor handling of exposed entities for cloud Alexa and Google ( #89877 )
...
* Refactor handling of exposed entities for cloud Alexa
* Tweak WS API
* Validate assistant parameter
* Address some review comments
* Refactor handling of exposed entities for cloud Google
* Raise when attempting to expose an unknown entity
* Add tests
* Adjust cloud tests
* Allow getting expose new entities flag
* Test Alexa migration
* Test Google migration
* Add WS command cloud/google_assistant/entities/get
* Fix return value
* Update typing
* Address review comments
* Rename async_get_exposed_entities to async_get_assistant_settings
2023-04-06 13:09:45 -04:00
Joakim Sørensen
d907bd2ca3
Add connected relayer region to system health ( #90410 )
2023-03-28 17:09:59 +02:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
fa7acb4f0d
Add type hints to integration tests (part 3) ( #87844 )
2023-02-10 16:05:01 +01:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Paulus Schoutsen
10b083bbf5
Sync empty entities when Google is disabled in cloud ( #72806 )
2022-06-23 11:41:34 +02:00
Erik Montnemery
9718fd2534
Enable Alexa state reporting by default ( #63802 )
2022-01-17 23:01:43 -08:00
Paulus Schoutsen
27e29b714c
Bump cloud to 0.47.1 ( #55312 )
...
* Bump cloud to 0.47.0
* Bump reqs
* Bump to 0.47.1
* Do not load hass_nabucasa during http startup
* fix some tests
* Fix test
Co-authored-by: Ludeeus <ludeeus@ludeeus.dev>
2021-09-01 09:54:54 -07:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
15da7b3ca6
Cloud: Recover when internet is not available yet ( #42877 )
2020-11-06 12:12:18 +01:00
springstan
6a7caad8dc
Use content type json constant ( #40312 )
2020-09-23 20:21:55 +02:00
Paulus Schoutsen
3ee3ae7633
Fix cloudhooks coming in for non existing webhooks ( #36836 )
...
* Fix cloudhooks coming in for non existing webhooks
* Fix tests"
2020-06-15 16:30:40 -07:00
Paulus Schoutsen
76f392476b
Use a future for mock coro ( #34989 )
2020-04-30 16:31:00 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Franck Nijhof
826433b680
Fix device name Google Assistant when using aliases ( #31416 )
...
* Fix device name Google Assistant when using aliases
* Adjust cloud tests
2020-02-02 14:48:13 -08:00
Christian Clauss
df7d2b3aeb
Fix typos found by codespell ( #31243 )
...
* Fix typos found by codespell
* Fix typos found by codespell
* codespell: Furture ==> Future
* Update test_config_flow.py
* Update __init__.py
* Spellcheck: successfull ==> successful
* Codespell: unsuccesful ==> unsuccessful
* Codespell: cant ==> can't
* Codespell: firware ==> firmware
* Codespell: mimick ==> mimic
2020-01-31 08:33:00 -08:00
Paulus Schoutsen
05374d7c85
Fix google sync ( #30524 )
2020-01-06 22:00:39 +01:00
Bas Nijholt
fbd4cf1089
use isort to sort imports according to PEP8 for cloud ( #29626 )
2019-12-08 22:31:12 +05:30
Joakim Plate
2569c4ae37
Google assistant storage of connected agents ( #29158 )
...
* Make async_report_state take agent_user_id
* Attempt to store synced agents
* Drop now not needed initialization
* Make sure cloud uses the all sync on changed preferences
* Some more places to use all version of sync
* Get the agent_user_id from the request context if available
* Minor cleanup
* Remove the old fixed agent_user_id for cloud
Instead pass along cloud_user where appropriate.
* async_delay_save takes a function
* Adjust test for delayed store
* Remove unused save function
* Add login check.
2019-12-02 22:05:59 -08:00
Paulus Schoutsen
b847d55077
Only create cloud user if cloud in use ( #29150 )
...
* Only create cloud user if cloud in use
* Pass context to alexa
* Update requirements
* Fix handing & design pattern for 0.30
* fix tests
* Fix lint & tests
* rename internal user
2019-11-28 14:23:59 +01:00
Paulus Schoutsen
e866d769e8
Google Assistant Local SDK ( #27428 )
...
* Local Google
* Fix test
* Fix tests
2019-10-13 14:16:27 -07:00
Bram Kragten
80bc15e24b
Update Alexa discovery description ( #26933 )
...
* Update Alexa discovery description
* Update description
* Fix test
* Filter special chars
2019-09-27 21:51:46 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
3cafc1f2c6
Alexa sync state report ( #24835 )
...
* Do a sync after changing state reporting
* Fix entity config being None
2019-06-28 20:43:57 -07:00
Paulus Schoutsen
78b7ed0ebe
Clean up Google Config ( #24663 )
...
* Clean up Google Config
* Lint
* pylint
* pylint2
2019-06-21 11:17:21 +02:00
Paulus Schoutsen
4e066f4681
Fix sending update when not logged in ( #24624 )
...
* Fix sending update when not logged in
* Fix test
2019-06-19 13:58:00 -07:00
Paulus Schoutsen
6d9f1b3fd3
Notify Alexa when exposed entities change ( #24609 )
2019-06-19 10:06:28 +02:00
Paulus Schoutsen
a02b69db38
Cloud: Add Alexa report state ( #24536 )
...
* Cloud: Add Alexa report state
* Lint
* Lint
* Only track state changes when we are logged in
2019-06-17 13:50:01 -07:00
Paulus Schoutsen
6c5124e12a
Cloud: allow managing Alexa entities via UI ( #24522 )
...
* Clean up Alexa config
* Cloud: Manage Alexa entities via UI
* Add tests for new cloud APIs
2019-06-13 11:58:08 -07:00
Paulus Schoutsen
6947f8cb2e
Cloud: Websocket API to manage Google assistant entity config ( #24153 )
...
* Extract exposed devices function
* Add might_2fa info to trait
* Do not filter with should_expose in Google helper func
* Cloud: allow setting if Google entity is exposed
* Allow disabling 2FA via config
* Cloud: allow disabling 2FA
* Lint
* More changes
* Fix typing
2019-05-29 08:39:12 -07:00
Pascal Vizeli
92ff49212b
Offload Cloud component ( #21937 )
...
* Offload Cloud component & Remote support
* Make hound happy
* Address comments
2019-03-11 12:21:20 -07:00