Commit graph

303 commits

Author SHA1 Message Date
epenet
e362871499
Prettify json (strings.json) (#68885) 2022-03-30 10:35:30 +02:00
Erik Montnemery
ff7d5c92d5
Exclude hidden entities from cloud (#68557) 2022-03-23 12:42:45 +01:00
Paulus Schoutsen
aabfa08834
Add if subscription is active to cloud status (#68266) 2022-03-17 09:51:07 +01:00
Paulus Schoutsen
e6cd155c01
Bump hass-nabucasa to 0.54.0 (#67252) 2022-02-25 14:01:20 -08:00
Paulus Schoutsen
0269ad4738
Bump hass-nabucasa to 0.53.1 (#66845) 2022-02-18 16:04:54 -08:00
Paulus Schoutsen
d3bb622a3c
Bump hass-nabucasa to 0.53.0 (#66826) 2022-02-18 11:53:02 -08:00
Paulus Schoutsen
499081df86
Cloud to avoid setting up Alexa/Google during setup phase (#66676) 2022-02-16 12:10:26 -08:00
Paulus Schoutsen
cd5b69d02e
Add Google local indicator (#66610) 2022-02-16 07:54:59 -08:00
Tobias Sauerwein
3d1cad9f67
Improve handling of cloud hook registration (#65664)
Signed-off-by: cgtobi <cgtobi@gmail.com>
2022-02-16 16:42:45 +01:00
Paulus Schoutsen
94980399cf
Bump hass-nabucas to 0.52.1 (#66536) 2022-02-14 20:46:32 -08:00
GitHub Action
fb96c31a27 [ci skip] Translation update 2022-02-09 00:23:56 +00:00
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
GitHub Action
ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Erik Montnemery
176eae701a
Unset Alexa authorized flag in additional case (#65044) 2022-01-27 09:59:58 -08:00
Erik Montnemery
94288886c3
Abort webhook flow when not connected to home assistant cloud (#64963) 2022-01-26 10:57:45 -08: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
Paulus Schoutsen
9cbdd36082
Expose if HTTP is configured for SSL (#64940) 2022-01-26 09:34:48 +01:00
Erik Montnemery
8ea2f865ed
Clarify cloud docstring (#64841) 2022-01-24 17:06:08 +01:00
epenet
3a09090a4b
Drop use of deprecated ENTITY_CATEGORIES (#64607)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 13:36:42 +01:00
Erik Montnemery
3575009330
Store remote domain in Cloud preferences (#64532) 2022-01-21 09:42:34 -08:00
Erik Montnemery
8c1a5f5329
Fix errors when trying to enable Alexa (#64536)
* Fix errors when trying to enable Alexa

* Update homeassistant/components/cloud/alexa_config.py

Co-authored-by: Franck Nijhof <git@frenck.dev>

* Ran black

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-20 15:26:58 +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
9718fd2534
Enable Alexa state reporting by default (#63802) 2022-01-17 23:01:43 -08:00
GitHub Action
8e14f2037c [ci skip] Translation update 2022-01-18 00:15:38 +00:00
Erik Montnemery
e6899416e1
Suppress Alexa state reports when not authorized (#64064) 2022-01-17 09:14:26 -08:00
Erik Montnemery
aa40476b49
Fix comments, improve readability in Cloud (#64291) 2022-01-17 14:19:11 +01:00
epenet
2c0033254b
Import cloud (#64116)
* Add type hints to cloud

* Import cloud

* Adjust smartthings tests

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 16:35:35 +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
be628a7c4d
Keep track of Alexa authorization status (#63979) 2022-01-13 09:47:31 -08:00
Erik Montnemery
03593aa21b
Import persistent notification (part 2) (#63899) 2022-01-13 08:42:50 +01:00
Erik Montnemery
9c9dc4cb8c
Import websocket_api (part 1) (#63905) 2022-01-11 18:24:08 +01:00
Franck Nijhof
20bdcc7fff
Replace hass.helpers: async_get_clientsession() (#63910) 2022-01-11 17:33:50 +01: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
epenet
c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
Paulus Schoutsen
1ea3a17d89
Allow sending webhooks via WS connection (#62725) 2022-01-07 10:41:36 -08:00
Loek Sangers
25fe213f22
Enable local fulfillment google assistant (#63218)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:09:59 -08:00
epenet
fbabad1d1d
Add binary_sensor setup type hints [a-f] (#63268)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:10:41 +01:00
epenet
9e16f87ddc
Add init type hints [b-c] (#63100)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 17:05:18 +01:00
epenet
803eaa8e22
Ensure admin service calls are typed (#63093)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-30 21:12:40 +01:00
GitHub Action
babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
GitHub Action
d4f8a7c056 [ci skip] Translation update 2021-12-17 00:14:01 +00:00
GitHub Action
f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
epenet
c5ffeb7809
Use new DeviceClass and EntityCategory enums in cloud (#61332)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 09:40:12 +01:00
GitHub Action
1f1a29cada [ci skip] Translation update 2021-12-09 00:13:16 +00:00
Paulus Schoutsen
914f7f85ec
Add local only users (#57598) 2021-11-29 14:01:03 -08:00
GitHub Action
d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00