Sid
fe9cc6705c
Add ruff rule PIE804 ( #113620 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 12:45:18 -10:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
Marc Mueller
a21d65d025
Fix cloud test RuntimeWarning ( #110909 )
2024-02-19 10:09:59 +01:00
Erik Montnemery
3526fd66df
Add option to block remote enabling of HA Cloud remote ( #109700 )
...
* Allow blocking remote enabling of HA Cloud remote
* Fix test
2024-02-15 17:26:06 +01:00
Marc Mueller
c82933175d
Use builtin TimeoutError [a-d] ( #109678 )
2024-02-05 11:31:33 +01:00
Martin Hjelmare
e086cd9fef
Add cloud tts entity ( #108293 )
...
* Add cloud tts entity
* Test test_login_view_missing_entity
* Fix pipeline iteration for migration
* Update tests
* Make migration more strict
* Fix docstring
2024-01-22 17:24:15 +01:00
Martin Hjelmare
f8318bbbc7
Fix cloud tts loading ( #107714 )
2024-01-12 09:47:08 +01:00
Martin Hjelmare
e1f31194f7
Move cloud stt engine to config entry ( #99608 )
...
* Migrate cloud stt to config entry
* Update default engine
* Test config flow
* Migrate pipelines with cloud stt engine to new engine id
* Fix test after rebase
* Update and add comment
* Remove cloud specifics from default stt engine
* Refactor cloud assist pipeline
* Fix cloud stt entity_id
* Try to wait for platforms before creating default pipeline
* Clean up import
* Move function in cloud assist pipeline
* Wait for tts platform loaded in stt migration
* Update deprecation dates
* Clean up not used fixture
* Add test for async_update_pipeline
* Define pipeline update interface better
* Remove leftover
* Fix tests
* Change default engine test
* Add test for missing stt entity during login
* Add and update comments
* Update config entry title
2023-12-21 13:39:02 +01:00
J. Nick Koston
537dbd8375
Fix cloud tests doing socket I/O ( #105874 )
...
https://github.com/home-assistant/core/actions/runs/7233101649/job/19708631179?pr=105868
https://github.com/home-assistant/core/actions/runs/7232949349?pr=105834
I was hoping to only patch the library, but when I did that it still failed
because it had no access token
2023-12-17 01:23:56 +01:00
Martin Hjelmare
4da04a358a
Refactor cloud assist pipeline ( #105723 )
...
* Refactor cloud assist pipeline
* Return None early
2023-12-14 23:56:08 +01:00
Martin Hjelmare
2e448d2d13
Remove cloud details from assist pipeline ( #105687 )
...
* Remove cloud details from assist pipeline
* Update assist pipeline tests
* Update cloud tests
2023-12-14 10:15:59 +01:00
Martin Hjelmare
02853a62f0
Clean cloud client fixture from cloud http api tests ( #105649 )
2023-12-13 14:21:33 +01:00
Martin Hjelmare
5bb233998e
Improve cloud http api tests ( #105610 )
...
* Improve cloud http api tests
* Add comments to the cloud fixture
* Fix docstring
2023-12-13 13:53:22 +01:00
Franck Nijhof
5e020ea354
Add is_admin checks to cloud APIs ( #97804 )
2023-08-08 11:02:42 +02:00
Erik Montnemery
f089f52504
Update cloud WS API for getting entity ( #92409 )
...
* Update cloud WS API for getting entity
* Adjust comment
2023-05-03 17:06:42 +02:00
Erik Montnemery
470c3a0f5f
Use exposed_entities API in cloud tests ( #92408 )
2023-05-03 16:50:43 +02:00
Erik Montnemery
b71f98e8b7
Include all entities in cloud lists ( #92406 )
2023-05-03 16:14:04 +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
2522c6d697
Add WS command cloud/alexa/entities/get ( #92121 )
...
* Add WS command cloud/alexa/entities/get
* Fix bugs, add test
2023-04-27 17:10:29 +02:00
Erik Montnemery
904ce226fb
Tweak response of /api/cloud/login ( #92058 )
2023-04-26 15:28:08 +02:00
Erik Montnemery
2750a5c3e6
Make assist_pipeline an after dependency of cloud ( #92057 )
2023-04-26 13:45:32 +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
Joakim Sørensen
2c8b704a6d
Add certificate status for cloud remote ( #91277 )
2023-04-13 00:38:32 +02: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
Erik Montnemery
f55aaf7664
Drop unused Google entity settings from cloud ( #89786 )
2023-03-16 11:15:38 +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
Franck Nijhof
24fdd588fd
Code styling tweaks to the tests - Part 1 ( #86192 )
2023-01-20 13:52:46 +01:00
Joakim Sørensen
817bbfe6aa
Bump hass-nabucasa from 0.56.0 to 0.59.0 ( #82987 )
...
* Bump hass-nabucasa from 0.56.0 to 0.58.0
* 0.59.0
2022-12-01 09:08:39 +01:00
Joakim Sørensen
7c82b78f8c
Add repair for legacy subscription to cloud integration ( #82621 )
2022-11-28 23:35:24 +01:00
Paulus Schoutsen
aabfa08834
Add if subscription is active to cloud status ( #68266 )
2022-03-17 09:51:07 +01:00
Paulus Schoutsen
d3bb622a3c
Bump hass-nabucasa to 0.53.0 ( #66826 )
2022-02-18 11:53:02 -08:00
Paulus Schoutsen
cd5b69d02e
Add Google local indicator ( #66610 )
2022-02-16 07:54:59 -08:00
Paulus Schoutsen
9cbdd36082
Expose if HTTP is configured for SSL ( #64940 )
2022-01-26 09:34:48 +01:00
Erik Montnemery
9718fd2534
Enable Alexa state reporting by default ( #63802 )
2022-01-17 23:01:43 -08:00
Erik Montnemery
537dfbca18
Rename cloud's AlexaConfig to CloudAlexaConfig ( #64065 )
...
* Rename cloud's AlexaConfig to CloudAlexaConfig
* Tweak
2022-01-14 11:09:39 +01:00
Erik Montnemery
be628a7c4d
Keep track of Alexa authorization status ( #63979 )
2022-01-13 09:47:31 -08:00
Joakim Sørensen
d1bb916070
Add client metadata to cloud register ( #63794 )
2022-01-10 14:49:25 +01:00
Erik Montnemery
0b28881b75
Enable Google Assistant state reporting by default ( #63801 )
2022-01-10 13:18:40 +01:00
Paulus Schoutsen
afa7ca1222
Drop block on local proxies from HA Cloud ( #59334 )
2021-11-14 08:11:12 -08:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05:00
Ville Skyttä
73d192b3f3
Use HTTPStatus instead of HTTP_ consts and magic values in comp.../[bc]* ( #57989 )
2021-10-22 19:43:40 +02:00
Ville Skyttä
2730a27fd0
Use HTTPStatus instead of HTTP_* constants in various test mocks ( #56543 )
2021-10-01 15:52:45 -07:00
Paulus Schoutsen
e34c985534
Simplify cloud request connection handling ( #56243 )
...
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-09-22 07:51:31 -07:00
Paulus Schoutsen
93083513b4
Bump hass-nabucasa 49 ( #55823 )
2021-09-06 16:05:33 -07:00
Bram Kragten
03b7b1305c
Cloud: Expose if google is registered in status + check on login ( #48260 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-03-29 19:26:51 +02:00
Paulus Schoutsen
82746616fa
Cloud: Add web socket API to pick default TTS language ( #45064 )
...
* Allow picking default TTS language
* Fix test
* Fix coroutine function
* Improve test coverage
* Remove stale import
* Clean up hass
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-01-13 00:05:30 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Paulus Schoutsen
5217139e0b
Allow exposing domains in cloud ( #39216 )
2020-08-28 16:49:17 +02:00