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
Marc Mueller
c82933175d
Use builtin TimeoutError [a-d] ( #109678 )
2024-02-05 11:31:33 +01:00
Marc Mueller
a9ade1f84d
Use asyncio.timeout [core] ( #98447 )
2023-08-15 08:36:05 -05:00
Jan Bouwhuis
2a48159b69
Alexa typing part 6 (state_report) ( #97920 )
...
state_report
2023-08-08 15:46:54 +02:00
Erik Montnemery
4802e7f93a
Add debug logs to cloud migration ( #94151 )
2023-06-07 13:16:23 +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
Paulus Schoutsen
19dcc8c88f
Re-run expose entities migration if first time failed ( #92564 )
...
* Re-run expose entities migration if first time failed
* Count number of exposed entities
* Add tests
---------
Co-authored-by: Erik <erik@montnemery.com>
2023-05-05 08:11:09 -04:00
Erik Montnemery
b6664ce367
Improve cloud migration ( #92520 )
...
* Improve cloud migration
* Tweak
* Use entity_ids func
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-05-04 23:10:43 -04:00
Erik Montnemery
e14be8b0ab
Force migration of cloud settings to exposed_entities ( #92499 )
2023-05-04 09:53:28 -04:00
Erik Montnemery
51be90d87e
Migrate cloud settings for all Alexa entities ( #92413 )
...
* Migrate cloud settings for all Alexa entities
* Also set settings for unknown entities
2023-05-03 12:39:27 -04: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
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
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
7215f6320e
Avoid exposing unsupported entities to Alexa ( #92107 )
...
* Avoid exposing unsupported entities to Alexa
* Update homeassistant/components/cloud/alexa_config.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-04-27 13:31:24 +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
J. Nick Koston
85b852d8ad
Fix cloud integration with py3.11 ( #88088 )
...
In py3.11 `Passing coroutines is forbidden, use tasks explicitly`
2023-02-14 11:31:52 -05: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
Paulus Schoutsen
6eeb1855ff
Remove entities from Alexa when disabling Alexa ( #73999 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 10:32:50 +02:00
Erik Montnemery
ff7d5c92d5
Exclude hidden entities from cloud ( #68557 )
2022-03-23 12:42:45 +01:00
Paulus Schoutsen
499081df86
Cloud to avoid setting up Alexa/Google during setup phase ( #66676 )
2022-02-16 12:10:26 -08:00
Erik Montnemery
176eae701a
Unset Alexa authorized flag in additional case ( #65044 )
2022-01-27 09:59:58 -08: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
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
e6899416e1
Suppress Alexa state reports when not authorized ( #64064 )
2022-01-17 09:14:26 -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
Erik Montnemery
03593aa21b
Import persistent notification (part 2) ( #63899 )
2022-01-13 08:42:50 +01:00
J. Nick Koston
10d6247fee
Bump to aiohttp 3.8.0 ( #58974 )
2021-11-04 10:07:50 -05:00
Erik Montnemery
a0a8b9db26
Add entity category 'system' ( #58595 )
...
* Add entity category 'hidden'
* Update cloud
* Update Google assistant
* Update Alexa
* Fix tests
* Add ENTITY_CATEGORIES constant
* Rename ENTITY_CATEGORY_HIDDEN to ENTITY_CATEGORY_SYSTEM
* Correct import in motioneye
2021-10-28 14:36:41 +02: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
Marc Mueller
184e0d7fdf
Use assignment expressions 26 ( #58187 )
2021-10-22 11:31:17 +02:00
Marc Mueller
5048bad050
Use assignment expressions 05 ( #57785 )
2021-10-17 19:56:00 +02:00
Erik Montnemery
0f2b5ea28e
Don't expose config or diagnostic entities to cloud ( #57771 )
2021-10-15 09:35:32 -07:00
Paulus Schoutsen
dec7877671
Handle logout prefs update for Google/Alexa ( #56045 )
2021-09-10 09:08:43 -07:00
Paulus Schoutsen
f472219c68
Set up cloud semi-dependencies at start ( #51313 )
2021-06-01 01:35:31 +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
6932cf9534
Use contextlib.suppress where possible ( #48189 )
2021-03-23 14:36:43 +01:00
Paulus Schoutsen
b956a571f4
Fix Cloud Google/Alexa check ( #46681 )
2021-02-17 06:49:53 +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
5217139e0b
Allow exposing domains in cloud ( #39216 )
2020-08-28 16:49:17 +02:00
Bas Nijholt
0427d87ba4
Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors ( #38663 )
2020-08-08 14:41:02 +02:00
Paulus Schoutsen
d3bbd9ec65
Delay sync for Google and limit updates to relevant info ( #34622 )
2020-04-24 10:49:11 +02:00
springstan
4c38e6cfa5
Use HTTP_BAD_REQUEST constant ( #33797 )
2020-04-09 21:43:42 +02:00
springstan
fca90a8ddc
Improve string formatting v5 ( #33697 )
...
* Improve string formatting v5
* Address review comments
2020-04-05 17:48:55 +02:00
Paulus Schoutsen
1e3b3ecbe6
Set default locale for cloud Alexa config ( #30749 )
2020-01-14 08:33:45 +01:00
Bas Nijholt
fbd4cf1089
use isort to sort imports according to PEP8 for cloud ( #29626 )
2019-12-08 22:31:12 +05:30
Paulus Schoutsen
7b05ede297
Fix Alexa Report State ( #26305 )
...
* Fix Alexa Report State
* Forgot to save a file
2019-08-30 20:34:40 -05:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00