Joakim Plate
8a7cb389ed
Drop support for fan speeds and support reverse ( #53105 )
2021-07-20 22:07:15 -07:00
J. Nick Koston
5d85983b09
Update google assistant locks to support locking, unlocking, jammed ( #52820 )
2021-07-20 23:49:05 -05:00
Ville Skyttä
470f2dd73f
Upgrade pyupgrade to 2.21.2, apply its changes ( #52987 )
2021-07-19 10:46:09 +02:00
Daniel Hjelseth Høyer
fbad453c89
Pylint 2.9.3 ( #52972 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
Franck Nijhof
655f797f67
Add Select entity support to Google Assistant ( #51997 )
2021-06-18 23:30:46 +02:00
Ville Skyttä
7d03b02192
Spelling fixes ( #51642 )
2021-06-11 13:35:03 +02:00
Jan Bouwhuis
2222a121f4
Add support for fan speed percentage and preset modes to google_assistant integration ( #50283 )
...
* support relative fan speeds
* fan preset modes
* improve tests
* Revert relative speed code report zero percentage
2021-06-02 22:09:22 +02:00
Paul Bottein
fb61ef500c
Add TV channel trait to google assistant ( #49676 )
2021-05-25 09:12:42 -07:00
Michael
b1138b1aab
Add constructor return type in integrations E-K ( #50902 )
2021-05-20 18:47:30 +03:00
tkdrob
d2d80093a1
Add selector to google assistant services ( #49769 )
2021-04-27 18:33:52 +02:00
Paulus Schoutsen
a6d87b7fae
Batch Google Report State ( #49511 )
...
* Batch Google Report State
* Fix batching
2021-04-23 10:56:23 -07:00
Paulus Schoutsen
7e7267f822
Send only a single event per incoming Google command ( #49449 )
2021-04-20 09:21:52 -07:00
Bram Kragten
b69b55987d
Google report state: thermostatMode should be a string, not null ( #49342 )
2021-04-19 08:20:00 -07:00
Chris Browet
591d09c177
Use google assistant TemperatureControl trait to report sensor ( #46491 )
...
* CHG: use TemperatureControl trait to report sensor
* fixup: blacked
* fixup: flaked
* fixup: flaked
* Adjust tests
* fixup test and rebase
* test coverage
2021-04-19 11:41:30 +02:00
Erik Montnemery
3d90d6073e
Add common light helpers to test for feature support ( #49199 )
2021-04-15 20:32:27 +02:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02: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
Paulus Schoutsen
05aeff5591
Describe Google Assistant events ( #49141 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-13 09:31:01 -07:00
Bram Kragten
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
Franck Nijhof
0d595a2845
Merge of nested IF-IF cases - E-G ( #48367 )
2021-03-27 12:39:37 +01: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
Tobias Haber
f785cc7d9a
Google has deprecated a comma separated list for modes changed it to array ( #48029 )
2021-03-17 20:59:06 -07:00
tkdrob
ab53b49d3f
Clean up constants ( #46948 )
...
* Clean up constants
* clean up humidifier constants
* fix tests
* fix prometheus tests
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-02 12:52:00 +01:00
Joakim Plate
0bfcd5e1ee
Use explicit open/close for covers ( #46602 )
2021-02-16 10:26:38 +01:00
Paulus Schoutsen
538df17a28
Restore Google/Alexa extra significant change checks ( #46335 )
2021-02-10 16:30:29 +01:00
tkdrob
87c36d6b6b
Use core constants for google_assistant ( #46204 )
2021-02-08 11:36:59 +01:00
J. Nick Koston
d417ee2732
Add fan speed percentage support to google assistant ( #45835 )
2021-02-02 14:39:07 +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
Paulus Schoutsen
712a5a098d
Add significant change filtering to Google ( #45566 )
2021-01-26 21:45:09 +01:00
Joakim Plate
3de0610909
Support google assistant stopping for assumed state covers ( #44266 )
...
* Support stopping for assumed state covers
* Adjust black formatting
2021-01-02 23:01:20 +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
Hmmbob
9cc406fef9
Remove deprecated CONF_ALLOW_UNLOCK, CONF_API_KEY from Google Assistant ( #44087 )
...
* Remove deprecated CONF_ALLOW_UNLOCK, CONF_API_KEY
* Use vol.Remove() to prevent setup fail
* Keep constants
2020-12-10 21:50:51 +01:00
Joakim Plate
aade4e63b8
Support asking covers to stop using google assistant ( #43537 )
2020-11-30 09:34:34 +01:00
Joakim Plate
e98f36e357
Support openRelativePercent for google assistant covers ( #43336 )
2020-11-20 15:20:09 +01:00
Joakim Plate
1567fadda3
Improve Google Assistant cover assumed state handling ( #43255 )
...
* Set command only cover
* No need for override position now that we support command only
* Return empty state response for assumed state
Fixes #43178
Reverts: #23498
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-11-17 21:55:46 +01:00
edomat
50761eb4e4
Distinguish Shutters and Awnings in Google Assistant ( #42782 )
...
* Distinguish Shutters and Awnings.
* Remove trailing whitespace
2020-11-05 14:55:48 +01:00
Paulus Schoutsen
5626a379de
Guard bad supported features for Google ( #42163 )
2020-10-21 16:37:42 +02:00
Paulus Schoutsen
62343f87ad
Catch when old entity can't be serialized in Google Report State ( #41916 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-16 09:56:48 +02:00
Bram Kragten
c6f3352cf8
Use custom app to play camera stream using Google Assistant ( #40750 )
2020-09-30 10:33:56 +02:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
Joakim Plate
29c1bec0f3
Match documentation on expose being default True ( #39692 )
2020-09-05 21:49:33 +02:00
Joakim Plate
d128443a2a
Google assistant openclose ( #39612 )
...
* Make sure we set discreteOnlyOpenClose for binary sensors
* Mark switches that are assumed state as commandOnlyOnOff
* Drop stray extra line
* Fix pylint error
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-09-03 18:32:57 +02:00
Joakim Plate
ec6a1f9137
Add support for receiver and speaker device classes ( #38381 )
...
These are now officially supported by google
2020-09-02 11:59:51 +02:00
Paulus Schoutsen
ab7b42c022
Google: Recover from an entity raising while serializing query ( #39381 )
...
Co-authored-by: Joakim Plate <elupus@ecce.se>
2020-08-30 15:19:56 +02:00
Paulus Schoutsen
8302a7879e
Catch bad devices when Google Sync ( #39377 )
2020-08-29 13:09:50 +02:00
Ville Skyttä
1bf2c4d976
Upgrade pylint to 2.6.0 ( #39363 )
2020-08-29 07:59:24 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Justin Paupore
53b729a0d1
Support muting and relative-volume media_players in Google Assistant ( #38651 )
...
Support the action.devices.commands.mute intent to mute and unmute
media_players that declare support for mute/unmute.
For media players with support for volume up/down, but no support for
setting the volume to a specific number, allow use of the
action.devices.commands.relativeMute intent to control volume up/down.
This will improve support for IR blasters and other open-loop
media_player integrations.
2020-08-09 14:03:53 +02:00
Matthew Garrett
34e2a1825b
Add support for exposing light effects via Google Assistant ( #38575 )
...
* Don't set SUPPORT_EFFECT on DemoLight if there are no effects
This requires an update to the group test - previously the other lights
instantiated by the DemoLight component had nothing in ATTR_EFFECT_LIST, but
still had SUPPORT_EFFECT set. This appears to have resulted in the light
group test code setting an effect on the group and expecting it to apply to
all lights, but given that two of the bulbs didn't actually support any
effects (due to the empty ATTR_EFFECT_LIST) this seems like a broken
assumption and updating the test to verify only the bulb that supports
effects has had one applied seems reasonable.
* Add support for exposing light effects via Google Assistant
The LightEffects trait only supports a fixed (and small) list of lighting
effects, but we can expose them via the Modes trait - this requires saying
"Set (foo) effect to (bar)" which is a little clumsy, but at least makes it
possible.
2020-08-08 14:28:04 -07:00