Commit Graph
69 Commits
Author SHA1 Message Date
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
epenet 246f9784c8 Adjust registry access in Google Assistant (#88883) 2023-02-28 21:59:26 -05:00
Franck Nijhof 5e81d28116 Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Marc Mueller b89a51c63d Improve google_assistant typing (#86537) 2023-01-24 18:18:05 +01:00
Franck Nijhof 79b52a2b41 Stricter pylint message control (#86154) 2023-01-20 13:47:55 +01:00
Franck Nijhof cb13418bab String formatting and max line length - Part 2 (#84393) 2022-12-22 11:38:59 +01:00
Franck Nijhof 1f0ea73463 Add support for entity aliases to Google Assistant (#84405) 2022-12-21 23:52:01 +01:00
Paulus Schoutsen d39ed0cde4 Remove unused custom data in Google Assistant (#79003) 2022-09-23 13:03:28 -04:00
epenet 5ae593672e Remove google_assistant from mypy ignore list (#74587) 2022-07-07 11:35:45 +02:00
Joakim Plate 992ceb1a09 Google Assistant diagnostics and synchronization (#73574)
* Add config flow import for local google assistant
* Add diagnostic with sync response
* Add button for device sync
2022-06-27 20:24:15 +02:00
Paulus Schoutsen 57efa9569c Cache is_supported for Google entities (#73936) 2022-06-24 17:05:36 -04:00
Paulus Schoutsen 10b083bbf5 Sync empty entities when Google is disabled in cloud (#72806) 2022-06-23 11:41:34 +02:00
Paulus Schoutsen 6d74149f22 Sync entities when enabling/disabling Google Assistant (#72791) 2022-05-31 14:58:45 -07:00
Paulus Schoutsen 3cd398a5bd Warn for old Google SDK version (#72403) 2022-05-24 10:26:25 +02:00
Marc Mueller 9b9b553521 Disable no-self-use [pylint] (#70641)
* Disable no-self-use

* Remove disable comments
2022-04-25 07:41:01 -07:00
Paulus Schoutsen 49b642a6ba Log device IP sending local msg (#67987) 2022-03-11 07:50:44 -08:00
Paulus Schoutsen fb4de7211b Make Google sync_seralize a callback (#67155) 2022-02-24 08:36:36 -08:00
Paulus Schoutsen cd5b69d02e Add Google local indicator (#66610) 2022-02-16 07:54:59 -08:00
Erik Montnemery 07563f4fd2 Disable google_assistant local SDK if SSL is enabled (#64983) 2022-01-26 18:55:30 +01:00
Erik Montnemery aa40476b49 Fix comments, improve readability in Cloud (#64291) 2022-01-17 14:19:11 +01:00
Paulus Schoutsen 7872f87dd7 Allow registering a webhook as local only (#63516) 2022-01-05 23:45:02 -08:00
Loek SangersandPaulus Schoutsen 25fe213f22 Enable local fulfillment google assistant (#63218)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-05 12:09:59 -08:00
epenetandepenet ad7a0d799d Add type hints to google_assistant (#62748)
* Add type hints to google_assistant

* Fix pylint

* Adjust type hint

* Fix black

* Revert changes to smart_home

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 09:10:43 +01:00
Marc Mueller 72801867d6 Use assignment expressions 38 (#58828) 2021-10-31 18:49:18 +01:00
Marc Mueller 7063c05127 Use assignment expressions 33 (#58717) 2021-10-30 16:32:41 +02:00
Ville Skyttä b52c5c82b1 Use http.HTTPStatus in components/[gh]* (#58246) 2021-10-23 20:34:53 +02:00
Marc Mueller 2a8eaf0e0f Use assignment expressions 06 (#57786) 2021-10-17 20:05:11 +02:00
Marc Mueller 12d1dfdaf9 Use assignment expressions 10 (#57791) 2021-10-15 21:36:03 +02:00
Paulus SchoutsenandLudeeus 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
Michael b1138b1aab Add constructor return type in integrations E-K (#50902) 2021-05-20 18:47:30 +03:00
Erik Montnemery 1a5068f71d Use supported_color_modes in google_assistant (#49176)
* Use supported_color_modes in google_assistant

* Fix tests
2021-04-14 09:18:22 +02:00
Bram KragtenandPaulus Schoutsen 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
Bram Kragten b1d0b37d2c Google assistant: disconnect user agent when not found in google (#48233) 2021-03-23 15:04:32 -07:00
Marc Mueller 9e1a6610dc Update typing 07 (#48057) 2021-03-18 08:02:55 +01:00
Dror Eiger 74efe78d0a Add device metadata for Google Assistant (#45507)
* Add device metadata for Google Assistant

* Increase test coverage

* Refactor fetching the device and entity entries.
2021-01-26 21:59:43 +01:00
Joakim Plate 56b3e0b52e Support area on entities for google assistant (#44300)
* Support area on entities

* Don't let registry area override config
2020-12-21 21:55:06 +01:00
Paulus Schoutsen 5626a379de Guard bad supported features for Google (#42163) 2020-10-21 16:37:42 +02:00
Franck Nijhof 1c2ebdf307 Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Bram Kragten e61280095e Add uuid to google assistant (#35811) 2020-05-25 17:39:09 -07:00
Franck Nijhof e3e3a113e9 async_get_url -> get_url (#35382) 2020-05-08 21:53:28 +02:00
Franck Nijhof 2223592486 Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +02:00
Bram Kragten 01599d44f5 Google local sdk: Set right port, correct device id and add base url (#34358) 2020-04-17 20:59:49 -07:00
Paulus Schoutsen 1ac8442c63 Fix Cloud UI bug preventing managing Google 2FA (#34241)
* Fix Cloud UI bug preventing managing Google 2FA

* Update comment
2020-04-15 08:43:43 -07:00
Paulus Schoutsen 4501471b8c Google Assistant: Remove speaker type and earlier filter out devices from being locally exposed (#31830)
* Remove speaker type

* Do not expose locks or alarms to Google Local
2020-02-14 15:28:11 -08:00
Franck Nijhof 826433b680 Fix device name Google Assistant when using aliases (#31416)
* Fix device name Google Assistant when using aliases

* Adjust cloud tests
2020-02-02 14:48:13 -08:00
Paulus Schoutsen e9e44dbd97 Fix callback and async (#31281)
* Fix callback and async

* Fix a return

* Fix test

* Fix mqtt tests

* Fix some more callbacks
2020-01-29 13:59:45 -08: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
Paulus Schoutsen 05374d7c85 Fix google sync (#30524) 2020-01-06 22:00:39 +01:00