Marc Mueller
ff3a801936
Add empty line after module docstring [a-d] ( #112697 )
2024-03-08 14:51:32 +01:00
Erik Montnemery
9b91da23c4
Improve logging of google_assistant messages ( #110637 )
...
* Improve logging of google_assistant messages
* Add tests
* Add test
2024-02-26 11:43:31 +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
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
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
Joakim Sørensen
2859055b36
Add instance id to the cloud integration ( #103162 )
2023-11-07 23:52:18 +01:00
Joakim Sørensen
a0a3d91a28
Update hass-nabucasa from 0.71.0 to 0.73.0 ( #101939 )
2023-10-13 21:46:52 +02:00
Joakim Sørensen
7042a02d72
Add remote alias to connection info response ( #99410 )
2023-08-31 10:43:32 -04:00
Erik Montnemery
91faa53843
Don't allow hass.config.config_dir to be None ( #98442 )
2023-08-16 13:00:14 +02:00
Jan Bouwhuis
0614702f98
Alexa typing part 5 (smart_home) ( #97918 )
...
* smart_home
* Fix test_disabled
* Remove unused type ignore
2023-08-08 11:48:50 +02: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
f3fc741a71
Bump hass-nabucassa to 0.69.0 ( #95367 )
2023-06-27 15:29:30 +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
2bc5198390
Bump hass-nabucassa to 0.68.0 ( #94910 )
...
* Bump hass-nabucassa to 0.68.0
* Add implementation of new abstract methods
2023-06-20 13:52:21 +02:00
Erik Montnemery
937ebb374c
Enable strict type checks of cloud ( #92576 )
...
* Enable strict type checks of cloud
* Fix circular import
* Address review comments
* Apply suggestions from code review
2023-05-24 11:46:11 +02:00
epenet
628236209b
Fix lingering timer in cloud ( #92498 )
2023-05-04 19:10:44 +02:00
Erik Montnemery
78da1168db
Adjust type hints in CloudClient ( #92465 )
2023-05-04 12:26:52 +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
d907bd2ca3
Add connected relayer region to system health ( #90410 )
2023-03-28 17:09:59 +02:00
Franck Nijhof
b0cee0bc46
String formatting and max line length - Part 1 ( #84390 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
epenet
416a5cb279
Import constants from component root ( #78395 )
2022-09-14 00:12:54 +02:00
Paulus Schoutsen
10b083bbf5
Sync empty entities when Google is disabled in cloud ( #72806 )
2022-06-23 11:41:34 +02:00
Paulus Schoutsen
a57136783d
Fix race causing google config pre-init access ( #71042 )
2022-04-28 23:45:57 -07:00
Erik Montnemery
18ea43b927
Prevent race when loading cloud config ( #64901 )
...
* Prevent race when loading cloud config
* Tweak
2022-01-26 10:59:36 +01:00
Erik Montnemery
4bcf71b1f3
Prevent race when loading cloud config ( #64437 )
2022-01-19 09:57:54 -08:00
Erik Montnemery
fd3b41dbe0
Catch exceptions when trying to enable Alexa ( #64438 )
2022-01-19 09:53:32 -08:00
Erik Montnemery
aa40476b49
Fix comments, improve readability in Cloud ( #64291 )
2022-01-17 14:19:11 +01:00
epenet
44a686931e
Import webhook ( #64102 )
...
* Import webhook
* Adjust webhook trigger
* Fix pylint
* Add type hints to async_handle_webhook
* Revert changes to netatmo
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 12:31:02 +01: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
03593aa21b
Import persistent notification (part 2) ( #63899 )
2022-01-13 08:42:50 +01:00
Paulus Schoutsen
1ea3a17d89
Allow sending webhooks via WS connection ( #62725 )
2022-01-07 10:41:36 -08:00
Erik Montnemery
dec54488e8
Enable basic type checking for cloud ( #55337 )
...
* Enable basic type checking for cloud
* Update mypy settings
* Address review comment
* Fix rebase mistakes
* Correct decorator order
2021-11-17 09:07:01 +01: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
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
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
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
Shay Levy
cf228e3fe5
Add constructor return type in integrations A-D ( #50903 )
2021-05-20 18:51:39 +03:00
Paulus Schoutsen
ba93a033a5
Cloud to set up Alexa conditionally ( #49136 )
2021-04-13 09:31:41 -07:00
Franck Nijhof
855b68faa1
Remove HomeAssistantType alias from entity components - Part 1 ( #48467 )
2021-03-29 13:24:36 -10: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
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
Paulus Schoutsen
69b5176730
Make Alexa custom ID unique ( #44839 )
...
* Make Alexa custom ID unique
* Lint
* Lint
2021-01-05 17:35:28 +01:00
Paulus Schoutsen
15da7b3ca6
Cloud: Recover when internet is not available yet ( #42877 )
2020-11-06 12:12:18 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +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
springstan
8d61893c39
Use HTTP_OK constant ( #33798 )
...
* Use http ok constant
* Remove incorrect use
* Run isort
* Fix pylint by adding missing imports
* Fix pylint by fixing one import
2020-04-08 11:47:38 -05:00
Paulus Schoutsen
8ceef72853
Google Assistant: Track if request is local ( #31226 )
...
* Track if request is local
* Cancel early if 2FA disabled
* Allow disabling 2FA for ack
* Do not mark devices with 2FA as reachable
* Add request source to GA events
2020-01-28 10:54:39 -08:00
Bas Nijholt
fbd4cf1089
use isort to sort imports according to PEP8 for cloud ( #29626 )
2019-12-08 22:31:12 +05:30