Erik Montnemery
f55aaf7664
Drop unused Google entity settings from cloud ( #89786 )
2023-03-16 11:15:38 +01: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
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
87420e949d
Sort manifests 2 ( #87023 )
2023-02-08 20:16:39 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ( #87543 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
epenet
b03f4fa1d3
Improve type hints in cloud ( #87263 )
2023-02-03 17:10:25 +01:00
epenet
810367b757
Fix `can not` typo ( #87254 )
2023-02-03 11:37:16 +01:00
Franck Nijhof
c56832bb2c
Enable Ruff SIM300 ( #86793 )
2023-01-30 11:03:23 +01:00
GitHub Action
77f9548e51
[ci skip] Translation update
2023-01-15 00:25:52 +00:00
GitHub Action
dffc913f9e
[ci skip] Translation update
2023-01-14 00:22:57 +00: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
Joakim Sørensen
63807e443a
Skip client metadata values that are None ( #84293 )
2022-12-20 09:32:27 -05:00
GitHub Action
cfa08c5229
[ci skip] Translation update
2022-12-15 00:24:38 +00:00
Erik Montnemery
d2fc3a22e2
Drop title from repairs flows ( #83627 )
2022-12-10 11:43:22 +01:00
GitHub Action
3de8185506
[ci skip] Translation update
2022-12-08 00:21:50 +00:00
Joakim Sørensen
f5cfd0329c
Use the async_migrate_paypal_agreement function to get the migration URL ( #83469 )
...
* Use the async_migrate_paypal_agreement function to get the migration URL
* Update URL
* Handle timeout error
2022-12-07 12:02:22 -07:00
Joakim Sørensen
8ed6fcd58e
When an account exist without a subscription "provider" will not exist ( #83472 )
2022-12-07 16:48:34 +01:00
Joakim Sørensen
41e4f10977
Bump hass-nabucasa from 0.59.0 to 0.61.0 ( #83466 )
2022-12-07 13:17:45 +01:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
Marc Mueller
1ca9824191
Update pylint to 2.15.8 ( #83311 )
2022-12-05 10:01:27 -05:00
GitHub Action
5f9290e572
[ci skip] Translation update
2022-12-05 00:23:07 +00:00
GitHub Action
a1eab7f842
[ci skip] Translation update
2022-12-04 00:23:06 +00:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00:00
GitHub Action
c9c2886b26
[ci skip] Translation update
2022-12-02 00:23:57 +00: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
GitHub Action
0d1f476bee
[ci skip] Translation update
2022-12-01 00:33:36 +00:00
GitHub Action
197e71203b
[ci skip] Translation update
2022-11-30 00:26:16 +00:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
Joakim Sørensen
7c82b78f8c
Add repair for legacy subscription to cloud integration ( #82621 )
2022-11-28 23:35:24 +01:00
GitHub Action
b65d8cc1b3
[ci skip] Translation update
2022-11-28 00:23:09 +00:00
Erik Montnemery
3aa64aaaf1
Mark some integrations as system integrations ( #80948 )
2022-10-25 15:30:46 +02:00
epenet
2c43606922
Add websocket type hints in components ( #80654 )
...
* Add websocket type hints in components
* Adjust
* Apply suggestion
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-10-20 13:41:14 +02:00
epenet
60640b4436
Add websocket type hints in components ( #80533 )
2022-10-18 22:15:23 -04:00
Paulus Schoutsen
f41b69e19e
Bump cryptography to 38 ( #79067 )
2022-09-25 17:39:42 -04:00
epenet
416a5cb279
Import constants from component root ( #78395 )
2022-09-14 00:12:54 +02:00
epenet
7871a517a8
Import constants from root ( #78271 )
2022-09-12 18:53:05 +02:00
epenet
9c8e9f044b
Import stt constants from root ( #78247 )
2022-09-12 18:12:06 +02:00
GitHub Action
296e52d918
[ci skip] Translation update
2022-08-21 00:24:25 +00:00
epenet
0f792eb92e
Improve entity type hints [c] ( #77023 )
2022-08-19 13:02:46 +02:00
Franck Nijhof
c212fe7ca5
Adjust version comparison in HA Cloud account linking ( #76978 )
2022-08-18 14:06:50 +02:00
Franck Nijhof
7a82279af8
Update hass-nabucasa to 0.55.0 ( #76892 )
2022-08-16 21:20:47 -04:00
GitHub Action
bec8e544f4
[ci skip] Translation update
2022-08-14 00:25:47 +00:00
GitHub Action
32a2999b85
[ci skip] Translation update
2022-08-06 00:24:46 +00:00
GitHub Action
cb46441b74
[ci skip] Translation update
2022-08-05 00:28:51 +00:00
Franck Nijhof
460837e453
Allow account linking to phase out services ( #75447 )
2022-07-20 11:43:46 +02:00
epenet
911402e747
Remove cloud from mypy ignore list ( #74449 )
2022-07-15 10:47:30 +02:00
Paulus Schoutsen
010b18be34
Bump atomicwrites ( #74758 )
2022-07-08 14:17:56 -07: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
Paulus Schoutsen
10b083bbf5
Sync empty entities when Google is disabled in cloud ( #72806 )
2022-06-23 11:41:34 +02:00
Paulus Schoutsen
fbb08994f4
Only sync when HA is started up as we already sync at startup ( #72940 )
2022-06-02 16:15:04 -07:00
Paulus Schoutsen
d57a650290
Don't trigger entity sync when Google Assistant gets disabled ( #72805 )
2022-06-01 12:12:54 +02:00
Paulus Schoutsen
6d74149f22
Sync entities when enabling/disabling Google Assistant ( #72791 )
2022-05-31 14:58:45 -07:00
Franck Nijhof
bfb47eb212
Final clean up of helpers accessed via hass ( #72032 )
...
* Final clean up of helpers accessed via hass
* Fix circular dep
* Fix import
2022-05-17 23:42:37 +03:00
Franck Nijhof
c0da97b038
Clean up accessing service helpers via hass ( #72013 )
2022-05-17 10:56:57 -07:00
Franck Nijhof
5f44d0f8f9
Clean up accessing storage.Store helper via hass ( #72009 )
2022-05-17 18:45:57 +02:00
Allen Porter
00b5d30e24
Add application credentials platform ( #69148 )
...
* Initial developer credentials scaffolding
- Support websocket list/add/delete
- Add developer credentials protocol from yaml config
- Handle OAuth credential registration and de-registration
- Tests for websocket and integration based registration
* Fix pydoc text
* Remove translations and update owners
* Update homeassistant/components/developer_credentials/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Update homeassistant/components/developer_credentials/__init__.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Remove _async_get_developer_credential
* Rename to application credentials platform
* Fix race condition and add import support
* Increase code coverage (92%)
* Increase test coverage 93%
* Increase test coverage (94%)
* Increase test coverage (97%)
* Increase test covearge (98%)
* Increase test coverage (99%)
* Increase test coverage (100%)
* Remove http router frozen comment
* Remove auth domain override on import
* Remove debug statement
* Don't import the same client id multiple times
* Add auth dependency for local oauth implementation
* Revert older oauth2 changes from merge
* Update homeassistant/components/application_credentials/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Move config credential import to its own fixture
* Override the mock_application_credentials_integration fixture instead per test
* Update application credentials
* Add dictionary typing
* Use f-strings as per feedback
* Add additional structure needed for an MVP application credential
Add additional structure needed for an MVP, including a target
component Xbox
* Add websocket to list supported integrations for frontend selector
* Application credentials config
* Import xbox credentials
* Remove unnecessary async calls
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update script/hassfest/application_credentials.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Import credentials with a fixed auth domain
Resolve an issue with compatibility of exisiting config entries when importing
client credentials
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-30 08:06:43 -07:00
Paulus Schoutsen
a57136783d
Fix race causing google config pre-init access ( #71042 )
2022-04-28 23:45:57 -07:00
Paulus Schoutsen
2e3e7f1e94
Sync area changes to google ( #70936 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-27 22:32:13 -07:00
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