297 Commits

Author SHA1 Message Date
Erik Montnemery
9a17c437ad
Remove some dead code from google_assistant (#90581) 2023-03-31 15:59:48 +02:00
Barry Loong
877efc993b
Add support for window device class to google assistant (#89564) 2023-03-12 22:45:25 -04:00
Frédéric Guardia
85f2693353
Fix Google Assistant temperature attribute (#85921) 2023-03-01 12:54:07 +01:00
epenet
246f9784c8
Adjust registry access in Google Assistant (#88883) 2023-02-28 21:59:26 -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
899adef590
Sort manifests 4 (#87025) 2023-02-08 20:27:05 +01:00
epenet
cf39403282
Improve type hints in google assistant (#87273) 2023-02-03 17:05:49 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Franck Nijhof
8c993116e1
Enable Ruff SIM401 (#86790)
* Enable Ruff SIM401

* Adjust found cases
2023-01-27 13:08:44 +01:00
J. Nick Koston
da390dbd9a
Migrate google_assistant to use async_forward_entry_setups (#86561)
Replaces deprecated async_setup_platforms with async_forward_entry_setups
2023-01-24 21:16:22 +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
Ville Skyttä
ae302bbec0
Make use of str.removeprefix and .removesuffix (#85584) 2023-01-13 12:19:38 +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
epenet
9580c4f1ec
Use UnitOfTemperature in integrations (e-h) (#84305) 2022-12-20 18:29:16 +01:00
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