Commit Graph

281 Commits (a205ba765641b1552879712b30c42a730db25084)

Author SHA1 Message Date
Paulus Schoutsen d39ed0cde4
Remove unused custom data in Google Assistant (#79003) 2022-09-23 13:03:28 -04:00
epenet dd7a06b9dc
Use unit_conversion in components (#78991) 2022-09-23 17:33:32 +02:00
Joakim Plate 924bffc7d0
Add query data to google assistant diagnostic (#78828) 2022-09-20 17:05:10 +02:00
Joakim Plate bd0daf68e0
If brightness is not available, don't set a value (#78827) 2022-09-20 07:57:54 -04:00
epenet 416a5cb279
Import constants from component root (#78395) 2022-09-14 00:12:54 +02:00
epenet dc3c4a2b54
Expose SOURCE_CLOUD in google-assistant root (#78394) 2022-09-13 15:05:55 -04:00
epenet 5c8e8e4860
Use new media player enums (#78264) 2022-09-12 20:06:27 +02:00
epenet 7871a517a8
Import constants from root (#78271) 2022-09-12 18:53:05 +02:00
epenet ff356205bf
Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
Jan Bouwhuis 448b720eb7
Fix trait processing Fan state without percentage_step (#77351)
* Fix trait processing Fan without percentage_step

* Update homeassistant/components/google_assistant/trait.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

* Fix test

* Fix formatting

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-08-27 17:17:02 +02:00
Joakim Plate 3eaa1c30af
Restore fixed step fan speeds for google assistant (#76871) 2022-08-17 22:15:48 -04:00
Nephiel ab5dfb3c42
Use climate enums in google_assistant (#75888) 2022-07-29 12:08:32 +02: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
w-marco c075760ca0
Display Windows as TYPE_WINDOW in Google Home (#73533)
* Display Windows as TYPE_WINDOW in Google Home

* set window type to window in smart_home test
2022-06-20 13:03:43 +02:00
Paulus Schoutsen 6d74149f22
Sync entities when enabling/disabling Google Assistant (#72791) 2022-05-31 14:58:45 -07:00
jack5mikemotown b91a1c1b0a
Fix Google Assistant brightness calculation (#72514)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-26 13:01:23 -07:00
Paulus Schoutsen 3cd398a5bd
Warn for old Google SDK version (#72403) 2022-05-24 10:26:25 +02:00
J. Nick Koston 0248a8710f
Always pass the source of the trigger for logbook context messages (#72333) 2022-05-23 13:35:45 -05:00
Franck Nijhof 8f4caf4141
Clean up accessing event helpers via hass (#72011) 2022-05-17 19:36:29 +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
Erik Montnemery dc0c3a4d2d
Exclude hidden entities from google_assistant (#68554) 2022-03-23 12:46:53 +01:00
J. Nick Koston d3deae6288
Fix typing on Context.user_id (#68019) 2022-03-11 20:31:03 -08: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
Marc Mueller ec980a574b
Improve typing [util.decorator] (#67087) 2022-02-23 20:58:42 +01:00
Paulus Schoutsen cd5b69d02e
Add Google local indicator (#66610) 2022-02-16 07:54:59 -08:00
Franck Nijhof fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
Paulus Schoutsen cf6b3fc810
Add support for proxy-selected intent (#65094) 2022-01-28 08:16:28 -08:00
Erik Montnemery 07563f4fd2
Disable google_assistant local SDK if SSL is enabled (#64983) 2022-01-26 18:55:30 +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
epenet f083b97f9f
Import camera (#64540)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 13:07:05 +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 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
Erik Montnemery 1b44c25015
Sort google_assistant consts (#63487) 2022-01-05 17:54:29 +01:00
Erik Montnemery 75f8e031df
Add support for curtain device class to google assistant (#63380) 2022-01-05 15:01:58 +01:00
ryborg 5f5adffd5b
Fix CO/CO2 sensors mixup in Google Assistant (#63152)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-04 18:24:44 +01:00
epenet 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
epenet 656d383ba6
Ensure service calls are typed [e-g] (#62912)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:23:01 +01:00
htmltiger de2adce1ca
Fix TypeError of vacuum battery level None (#62722)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-27 20:55:43 +01:00
Franck Nijhof dc47cbd01b
Add input_button support to Google Assistant (#62593) 2021-12-23 07:38:35 +01:00
epenet 3e0e2978e6
Use new DeviceClass enums in google-assistant (#61611)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 23:19:32 +01:00
Erik Montnemery 814a742518
Don't wait for Google Assistant service calls when reporting state (#59832)
* Don't wait for Google Assistant service calls when reporting state

* Update tests

* Add test
2021-11-29 18:34:38 +01:00
Franck Nijhof 42ed6ddba3
Add button support to Google Assistant (#60158) 2021-11-22 20:50:21 -08:00
Bram Kragten 47b6755177
Google Cast: Use own media player app (#55524) 2021-11-10 19:40:49 +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