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
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
Paulus Schoutsen
f184bf4d85
Add Google Report State ( #27112 )
...
* Add Google Report State
* UPDATE codeowners"
* Add config option for dev mode
* update library
* lint
* Bug fixes
2019-10-03 13:02:38 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
f5f86993f1
Improve Alexa error handling ( #24745 )
2019-06-24 22:04:31 -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
7e2278f1cc
Clean up Alexa smart home code ( #24514 )
...
* Clean up Alexa smart home code
* lint
* Lint
* Lint
2019-06-13 08:43:57 -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
Paulus Schoutsen
b09f5b6743
Only include agent user ID in SYNC responses ( #23497 )
2019-04-28 09:42:05 +02:00
Paulus Schoutsen
d505f1c5f2
Always set latest pin ( #23328 )
2019-04-23 13:13:00 -07:00
Paulus Schoutsen
0533f56fe3
Ask users for a pin when interacting with locks/garage doors ( #23223 )
...
* Ask users for a pin when interacting with locks/garage doors
* Deprecate allow_unlock option
2019-04-19 14:50:21 -07:00
Pascal Vizeli
073f947ca4
Bump Home Assistant Cloud 0.12 ( #23159 )
...
* Home Assistant Cloud 0.12
* Fix raising error
* Fix requirements
* Fix lint
2019-04-17 06:57:26 -07:00
Paulus Schoutsen
dc656205c4
Fix func
2019-03-15 11:11:59 -07:00
Pascal Vizeli
17ba33004c
Binary Sensor for Remote UI & Fix timezone ( #22076 )
...
* Binary Sensor for Remote UI
* Fix lint
* Revert make hass public
* Add tests
2019-03-15 10:39:53 -07:00
Pascal Vizeli
6a80ffa8cc
Fix Google Assistant User with Cloud ( #22042 )
...
* Fix Google Assistant User with Cloud
* Fix User Agent ID
* respell
* Fix object
* Fix tests
* fix lint
* Fix lint
2019-03-14 16:18:31 -07:00
Paulus Schoutsen
d3bab30dbe
Add cloud status ( #21960 )
...
* Add cloud status
* Expose certificate details
* store & reset last state
* Fix tests
* update tests
* update req
* fix lint
2019-03-12 15:54:04 +01: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