Commit Graph

61 Commits (223ea034926d63560c51dc7ca403d6aa65f57abb)

Author SHA1 Message Date
Allen Porter 26e2ef8175
Add repair issues for nest app auth removal and yaml deprecation (#75974)
* Add repair issues for nest app auth removal and yaml deprecation

* Apply PR feedback

* Re-apply suggestion that i force pushed over

* Update criticality level
2022-08-02 03:20:20 +02:00
Allen Porter b4003713b6
Remove nest mac prefix that matches cast devices (#75108) 2022-07-14 22:01:18 -07:00
Allen Porter b014d558ff
Add application credentials platform for nest and deprecate yaml for SDM API (#73050)
* Update the nest integration to be useable fully from the config flow

* Support discovery in nest config flow

* Remove configuration entries

* Remove unused import

* Remove dead code

* Update homeassistant/components/nest/strings.json

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove commented out code

* Use config flow for app auth reauthentication path

* Improves for re-auth for upgrading existing project and creds

* More dead code removal

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Remove outdated code

* Update homeassistant/components/nest/config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-15 07:15:53 -07:00
Allen Porter d31e43b980
Bump google-nest-sdm to `2.0.0` and cleanup nest auth implementation in config flow (#72770)
Cleanup nest auth implementaton in config flow
2022-05-31 17:53:36 +02:00
Allen Porter c07100e519
Move Local OAuth http endpoint registration to auth component (#69507) 2022-04-06 22:34:31 -07:00
Allen Porter 69c58a9ce6
Bump google-nest-sdm to 1.8.0 (#67723) 2022-03-06 15:35:16 +02:00
Paulus Schoutsen 2a8dc38d2d
Move media_source to after_deps (#67195) 2022-02-24 14:54:46 -08:00
Allen Porter 122ada718a
Bump google-nest-sdm to 1.7.1 (minor patch) (#66304) 2022-02-11 11:13:00 +02:00
Allen Porter 9446b39ae0
Bump google-nest-sdm to 1.7.0 (#66145) 2022-02-09 09:12:49 +01:00
Allen Porter 6f46d98308
Bump python-nest to 4.2.0 for python 3.10 fixes (#66090) 2022-02-08 08:40:06 -08:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
Allen Porter 444a681729
Bump google-nest-sdm to 1.6.0 (diagnostics) (#65135) 2022-01-28 18:09:08 +02:00
Allen Porter cef0a18e23
Bump google-nest-sdm 1.5.1 (#64334) 2022-01-17 22:16:13 -08:00
Allen Porter 849abaca8b
Bump google-nest-sdm to 1.5.0 and add nest mp4 clip transcoding to animated gif (#64155) 2022-01-15 12:31:02 -08:00
Allen Porter 4bce92dd2d
Bump google-nest-sdm to 1.4.0 (#64098) 2022-01-14 10:35:13 +02:00
Allen Porter 584e660548
Bump google-nest-sdm to 1.3.0 (#63224) 2022-01-02 18:55:37 +01:00
Allen Porter b17120a511
Bump google-nest-sdm to 1.2.1 (#63151) 2021-12-31 10:11:00 -10:00
Allen Porter 4c46cf79c4
Bump google-nest-sdm to 1.2.0 (#63121) 2021-12-31 10:43:11 +01:00
Allen Porter 67663dd31a
Bump google-nest-sdm to 1.1.0 (#62977) 2021-12-28 22:19:31 -08:00
Allen Porter c54439ef42
Bump google-nest-sdm to 1.0.0 (#62783)
* Bump google-nest-sdm to 1.0.0

See release log in https://github.com/allenporter/python-google-nest-sdm/compare/0.4.9...1.0.0

* Remove typing ignore now that typing is fixed
2021-12-25 21:47:45 -08:00
Allen Porter bf108b9d0d
Update nest mac addresses based on newer generation hardware (#62525)
Add nest mac addresses for cameras and doorbell devices added
in the last few years.

This is in perparation for improving nest discovery, which
currently does not work great because it requires configuration.yaml
2021-12-21 22:38:25 -06:00
Allen Porter beb824c452
Bump google-nest-sdm to 0.4.9 (#62160) 2021-12-17 09:07:51 +01:00
Allen Porter bff677e34e
Bump google-nest-sdm to 0.4.8 (#61851) 2021-12-15 13:12:38 +01:00
Allen Porter cd001d0243
Only publish nest camera event messages once per thread and bump nest version (#61587) 2021-12-12 14:12:05 -08:00
Allen Porter 6d867e0415
Bump nest to 0.4.5 to fix media player event expiration (#61174) 2021-12-07 11:30:23 -08:00
Allen Porter bbe4a67a98
Coalesce nest media source preview clips by session and bump google-nest-sdm (#61081) 2021-12-05 23:59:24 -08:00
Allen Porter 5bd1139867
Fix regression in nest event media player with multiple devices (#61064) 2021-12-05 13:02:37 -08:00
Allen Porter e34d982bdb
Bump nest to version 0.4.2 (#61036) 2021-12-05 10:50:47 +01:00
Allen Porter ba99dc3af9
Add Nest Battery Cam event clip support with a Nest MediaSource (#60073) 2021-12-03 10:53:05 -08:00
Allen Porter 7e0ddd1d8c
Bump google-nest-sdm to 0.4.0 (#60068)
Full changelog: https://github.com/allenporter/python-google-nest-sdm/compare/0.3.9...0.4.0

All changes are in new code and is expected to be a no-op for the current code.

This release introduces a new API for fetching events for upcoming features in Home Assistant,
namely fetching camera clips for battery cameras. The new API is uniform across old and new
cameras.
2021-11-21 08:10:09 +01:00
Allen Porter 01fe69511f
Bump google-nest-sdm to 0.3.9 (#59458) 2021-11-10 08:29:33 +01:00
Allen Porter 4242711301
Bump google-nest-sdm to 0.3.8 (#58186) 2021-10-22 11:37:30 +02:00
Allen Porter 8026a14bc8
Bump nest 0.3.7 to prepare for WebRTC support (#57089) 2021-10-04 20:59:23 -07:00
Allen Porter 50068d2352
Bump google-nest-sdm to 0.3.6 (#54287)
Add google-nest-sdm to 0.3.6 to include static typing fixes.
2021-08-08 14:47:50 -07:00
Allen Porter 806ab47ca5
Bump nest to version 0.3.5 (#53672)
Fix runtime type assertions, Fixes Issue #53652
2021-07-28 22:49:13 -07:00
Allen Porter 68945e8814
Enable strict static type checking for nest integration (#53535) 2021-07-28 09:12:32 +02:00
Allen Porter 3cff15ae2f
Bump google-nest-sdm to 0.3.0 (#53172)
The primary update is to have additional static type checking with mypy
2021-07-19 10:50:22 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
Allen Porter b1898cc176
Bump google-nest-sdm to v0.2.12 to improve API call error messages (#47108) 2021-02-26 11:20:32 -08:00
Allen Porter 10e88cd23d
Improve nest defense against broken event loop on shutdown (#46494) 2021-02-14 13:36:05 +01:00
Allen Porter bf4b4623aa
Bump google-nest-sdm to 0.2.9 (#45244)
This library contains user experience for the case where oauth
token cannot be refreshed on startup, which regressed after
https://github.com/home-assistant/core/pull/44686
2021-01-16 23:39:33 +01:00
J. Nick Koston da677f7d5a
Add support for discovery via DHCP (#45087)
* Add support for discovery via DHCP

* additional tesla ouis

* merge tests

* dhcp test

* merge requirements test

* dhcp test

* dhcp discovery

* dhcp discovery

* pylint

* pylint

* pylint

* fix

* Add matching tests

* 100% cover

* cleanup

* fix codespell

* Update exception handling

* remove unneeded comment

* fix options handling exception

* fix options handling exception
2021-01-14 09:09:08 +01:00
Paulus Schoutsen f19b72ea02
Drop awarecan from codeowners (#45049) 2021-01-11 17:58:59 +01:00
Allen Porter a73a82e381
Improve nest client error handling using newest library (#44998) 2021-01-09 17:52:30 -08:00
Allen Porter 560e3811a3
Generate nest images thumbnails from events (#44638)
* Capture nest still images from events

Use python google-nest-sdm API for fetching images.  Update home assistant
to use the google-nest-sdm API for fetching the image contents generated
by the server.  This uses the existing websession object for server fetches,
reducing the amount of new code and facilites unit testing using the existing
mechanism.

Simplify tests using the image fetch API rather than a snapshot API
2021-01-06 07:02:04 -08:00
Allen Porter 6cd18971b1
Propose an integration quality for nest SDM integration (#44755)
* Propose the nest SDM integration is silver quality

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-01-04 19:45:33 -08:00
Allen Porter 51b88337ca
Simplify nest event handling (#44367)
* Simplify nest event handling

Use device specific update callbacks rather than a global callback.
The motivation is to prepare for a follow up change that will store
camera specific event tokens on the camera itself, so that a service
can later fetch event specific image snapshots, which would be difficult
to send across the event bus.

* Increase nest camera test coverage

* Remove unnecessary device updates for nest cameras

* Remove unused imports

* Fix device id check to look at returned entry

* Remove unused imports after rebase

* Partial revert of nest event simplification

* Push more update logic into the nest library

* Revert nest device_info changes

* Revert test changes to restore global update behavior

* Bump nest library version to support new callback interfaces
2020-12-27 09:49:22 +01:00
Tim Messerschmidt a0ce541c0d
Bump google-nest-sdm to 0.2.1 to support more SDM Pub/Sub realms (#44163) 2020-12-15 07:38:32 -08:00
Allen Porter 3dd14e05e3
Update nest library and switch events to async (#43583) 2020-11-24 08:53:50 -07:00
Allen Porter 2d14f07396
Improve nest SDM integration error handling (#43271) 2020-11-19 12:26:49 +01:00