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
Marc Mueller
5048bad050
Use assignment expressions 05 ( #57785 )
2021-10-17 19:56:00 +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
Philip Allgaier
450f3740cd
Use consolidated constant for "description" ( #48490 )
2021-03-31 14:12:15 +02:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) ( #41600 )
2020-10-12 16:59:05 +02:00
Pascal Vizeli
5f2a9ed965
Fix cloud binary_sensor & TTS/STT ( #34505 )
2020-04-21 08:55:09 -07:00
Paulus Schoutsen
7ae802bb0d
Cloud do checks during setup ( #33507 )
...
* Update cloud to do more tasks during async_setup
* Upgrade hass_nabucasa to 0.33
2020-04-01 15:25:04 -07:00
Paulus Schoutsen
c963128306
Upgrade to use new version of HASS-nabucasa ( #30506 )
...
* Upgrade to use new version of HASS-nabucasa
* Update hass-nabucasa to 0.31
2020-01-07 13:25:57 +01:00
Paulus Schoutsen
6e909ab3f1
Only return remote UI url if remote UI enabled ( #30453 )
2020-01-04 13:43:59 +01:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01: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
Pascal Vizeli
005a1b2713
Add additional support over NC ( #28527 )
...
* Add voice support over NC
* Add disocery support for TTS / STT
* fix cloud TTS discovery
* Fix dev config
* Fix discovery
* Bump hass-nabucasa 0.25
* Add channel support
* Fix lint
* Update homeassistant/components/cloud/__init__.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* Update homeassistant/components/cloud/tts.py
Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>
* bump hass-nabucasa
* Update tts.py
* fix lint
2019-11-05 22:39:15 +01:00
Paulus Schoutsen
08cc9fd375
Add cloud account linking support ( #28210 )
...
* Add cloud account linking support
* Update account_link.py
2019-10-25 16:04:24 -07:00
bouni
1d8e366278
Move imports in cloud component ( #27881 )
2019-10-18 15:39:37 -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
8ec75cf883
Verify cloud user exists during boot ( #25119 )
2019-07-13 09:33:31 +02:00
Paulus Schoutsen
6d9f1b3fd3
Notify Alexa when exposed entities change ( #24609 )
2019-06-19 10:06:28 +02:00
Paulus Schoutsen
f382be4c15
Cloud: Make sure on_connect forwards platform only once ( #24582 )
...
* Make sure on_connect forwards platform only once
* Make sure right handler
2019-06-18 13:59:40 -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
Robbie Trencheny
d1e44e35df
Fix unexpected error thrown if instance_domain is not set ( #23615 )
2019-05-01 22:35:12 -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
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
e00ae35e07
Admin service to automatically add empty schema ( #22637 )
...
* Admin service to automatically add empty schema
* Lint
2019-04-02 09:34:11 -07:00
Paulus Schoutsen
c96804954c
Only allow admins to enable remote connection ( #22609 )
...
* Only allow admins to enable remote connection
* Protect WS API
* Lint
2019-04-01 10:22:51 +02:00
Pascal Vizeli
b57d809dad
Update hass-nabucasa & fix state ( #22385 )
...
* Update hass-nabucasa & fix state
* Fix lint
2019-03-25 09:43:15 -07:00
Pascal Vizeli
5716d0aa1a
Update hass-nabucasa 0.10 ( #22267 )
2019-03-21 14:21:13 -07:00
Pascal Vizeli
1b66520e31
Update Hass-NabuCasa 0.9 ( #22258 )
2019-03-21 19:39:24 +01:00
Pascal Vizeli
1499485a71
Update Hass-NabuCasa 0.8 ( #22177 )
2019-03-19 15:10:30 +01: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
Robbie Trencheny
5a9e8b2d3e
Mobile App: Expose Cloud Remote UI FQDN in registration response ( #22055 )
...
* Add a callback to get the cloud remote UI FQDN
* Expose Cloud Remote UI FQDN in the registration response
* Return a URL instead of FQDN
2019-03-14 19:46:59 -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
Pascal Vizeli
186b48e2eb
Bump NabuCasa library to 0.5 ( #22010 )
2019-03-13 16:45:26 +01:00
Paulus Schoutsen
d3960bf745
Fix some cloud things ( #21977 )
2019-03-12 11:49:46 -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
Paulus Schoutsen
14b05b0a91
Fix incorrect 2nd param
2019-03-09 19:52:50 -08:00
Paulus Schoutsen
f4f0d363ca
Better cloud check ( #21875 )
2019-03-09 12:15:16 -08:00
Penny Wood
d1038ea79f
Google Assistant: Create and pass context to service calls ( #21551 )
...
* Google Assistant: Create and pass context to service calls
* Refactor request data into separate object and pass to execute.
2019-03-05 20:00:53 -08:00
Paulus Schoutsen
f5ed6432eb
Expose create/delete cloudhook ( #21606 )
...
* Expose create/delete cloudhook
* Make sure we dont publish cloudhooks when not connected
2019-03-03 19:03:49 -08:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
2733919cd8
Keep cloud tokens always valid ( #20762 )
...
* Keep auth token always valid
* Remove unused refresh_auth message
* Capture EndpointConnectionError
* Lint
2019-02-05 10:45:03 +01:00
Abílio Costa
ead38f6005
Proactive Alexa ChangeReport messages ( #18114 )
...
* Alexa: implement auth and proactive ChangeReport messages
* refactor after rebase from dev to use the new AlexaDirective and Response classes
* move to aiohttp; cleanup
* better function name
* move endpoint to config
* allow passing token function
* remove uneeded state get
* use iterable directly
Co-Authored-By: abmantis <abmantis@users.noreply.github.com>
* missing delete from previous commit
* checks for when user has no auth config
* update cloud component
* PR suggestions
* string lint
* Revert "string lint"
This reverts commit a05a1f134c9ebc7a6e67c093009744f142256365.
* linters are now happier
* more happy linters
* use internal date parser; improve json response handling
* remove unused import
* use await instead of async_add_job
* protect access token update method
* add test_report_state
* line too long
* add docstring
* Update test_smart_home.py
* test accept grant api
* init prefs if None
* add tests for auth and token requests
* replace global with hass.data
* doc lint
2019-01-03 22:28:43 +01:00
Paulus Schoutsen
557720b094
Fix cloud defaults ( #19172 )
2018-12-11 06:50:54 +01:00
Andrew Hayworth
b7e2522083
bugfix: ensure the `google_assistant` component respects `allow_unlock` ( #18874 )
...
The `Config` object specific to the `google_assistant` component
had a default value for `allow_unlock`. We were not overriding this
default when constructing the Config object during `google_assistant`
component setup, whereas we do when setting up the `cloud` component.
To fix, we thread the `allow_unlock` parameter down through http setup,
and ensure that it's set correctly. Moreover, we also change the
ordering of the `Config` parameters, and remove the default. Future
refactoring should not miss it, as it is now a required parameter.
2018-12-02 11:14:46 +01:00
Paulus Schoutsen
e06fa0d2d0
Default to on if logged in ( #18766 )
2018-11-28 22:17:37 +01:00
Paulus Schoutsen
7848381f43
Allow managing cloud webhook ( #18672 )
...
* Add cloud webhook support
* Simplify payload
* Add cloud http api tests
* Fix tests
* Lint
* Handle cloud webhooks
* Fix things
* Fix name
* Rename it to cloudhook
* Final rename
* Final final rename?
* Fix docstring
* More tests
* Lint
* Add types
* Fix things
2018-11-26 14:10:18 +01:00