Commit graph

644 commits

Author SHA1 Message Date
Allen Porter
7f9ec2a79e
Ignore WebRTC candidates for nest cameras (#130294) 2024-11-10 19:27:40 +01:00
Allen Porter
e8dc62411a
Improve nest camera stream expiration to be defensive against errors (#130265) 2024-11-10 12:01:59 +01:00
Allen Porter
21d81d5a5c
Bump google-nest-sdm to 6.1.5 (#130229) 2024-11-09 19:02:15 +01:00
Allen Porter
f7cc91903c
Fix bugs in nest stream expiration handling (#130150) 2024-11-08 18:37:00 +01:00
Allen Porter
e407b4730d
Fix KeyError in nest integration when the old key format does not exist (#130057)
* Fix bug in nest setup when the old key format does not exist

* Further simplify the entry.data check

* Update homeassistant/components/nest/api.py

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-11-07 20:03:07 -08:00
Allen Porter
2adbf7c933
Bump google-nest-sdm to 6.1.4 (#130005)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-11-07 10:50:40 +01:00
Allen Porter
6718cce203
Fix nest streams broken due to CameraCapabilities change (#129711)
* Fix nest streams broken due to CameraCapabilities change

* Fix stream cleanup

* Apply suggestions from code review

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/nest/camera.py

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2024-11-03 20:45:09 -08:00
Allen Porter
6c047e2678
Refresh Nest WebRTC streams before expiration (#129478) 2024-10-30 14:25:43 +01:00
Jirka
e72e2071b0
Fix typo in nest string (#129423)
Update strings.json

Fixed typos
2024-10-29 15:38:55 +01:00
Allen Porter
8e7ffd9e16
Update Nest configuration flow to handle upcoming changes to Pub/Sub provisioning (#128909)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-10-29 12:58:36 +01:00
Allen Porter
537c95cf29
Update nest to use the async WebRTC APIs (#129369)
* Update nest to use the new `async_handle_webrtc_offer` APIs.

* Close sessions when sessions end

* Switch to the correct close API
2024-10-29 07:18:59 +01:00
Robert Resch
aa855e31c8
Convert async_get_webrtc_client_configuration to a callback (#129329) 2024-10-28 15:47:22 +01:00
Robert Resch
3512cb9599
Use webrtc-models package (#129032) 2024-10-25 10:18:55 +02:00
Erik Montnemery
487593af38
Allow configuring WebRTC stun and turn servers (#128984)
* Allow configuring WebRTC stun and turn servers

* Add tests

* Remove class WebRTCCoreConfiguration
2024-10-23 14:41:45 +02:00
Allen Porter
1c4aff3ee1
Bump google-nest-sdm to 6.1.3 (#128871) 2024-10-21 09:05:37 +02:00
Oliver Woodings
94534f714c
Reduce the size of the Nest event media storage cache (#128855)
Reduce max media items per nest device
2024-10-20 10:58:27 -07:00
Allen Porter
d9fd2c28b0
Bump google-nest-sdm to 6.1.0 (#128812) 2024-10-20 09:42:14 +02:00
epenet
0704c3ccb9
Use new reauth_helpers in nest (#128699)
Use reauth_confirm in nest
2024-10-19 09:57:18 -07:00
Christopher Fenner
144454b8c3
Remove duplicate oauth2 token validity check (#128419)
* remove duplicate validity check

* Apply suggestions from code review

* add leftover

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-10-16 11:42:44 +02:00
epenet
2542ddd30a
Improve check for user-visible flows when checking translations in tests (#128434)
* Improve check for user-visible flows when checking translations in tests

* Fix nest (from DHCP)

* Ignore homeassistant_hardware

* Improve logic
2024-10-15 14:09:53 +02:00
Robert Resch
04860ae1d2
Add go2rtc and extend camera integration for better WebRTC support (#124410) 2024-10-03 09:20:03 +02:00
Erik Montnemery
c638537731
Use 'select' instead of 'click' or 'press' when guiding users in flows (#126731) 2024-09-25 13:37:43 +02:00
epenet
fb400af7d2
Prevent trailing line feeds in translation values (#126446)
* Prevent trailing line feeds in translation values

* Fixup strings
2024-09-23 13:02:39 +02:00
epenet
6ef1dd56f5
Use root import for device_automation (#125836) 2024-09-12 17:01:25 +02:00
epenet
4afc472068
Use root import for media_player and media_source (#125828)
* Use root import for media_player and media_source

* One more
2024-09-12 15:38:53 +02:00
jonnynch
2ea8af83bd
Bump to python-nest-sdm to 5.0.1 (#125706) 2024-09-11 07:33:26 -07:00
Allen Porter
93afc9458a
Update nest to only include the image attachment payload for cameras that support fetching media (#124590)
Only include the image attachment payload for cameras that support fetching media
2024-08-31 11:38:45 -07:00
Allen Porter
18212052a4
Update nest events to include attachment image and video urls (#124554) 2024-08-25 21:24:06 +02:00
Allen Porter
c506188c13
Fix nest event entities to only register a single event per session (#124535) 2024-08-24 22:17:59 +02:00
Allen Porter
b64c21cce6
Bump to python-nest-sdm to 5.0.0 (#124536) 2024-08-24 22:16:55 +02:00
Allen Porter
3e3d27f48d
Add nest event platform (#123042)
* Add nest event platform

* Translate entities

* Put motion events into a single entity type

* Remove none types

* Set event entity descriptions as kw only

* Update translations for event entities

* Add single event entity per trait type

* Update translation keys
2024-08-24 08:44:44 -07:00
Allen Porter
d72d4286db
Bump nest to 4.0.7 to increase subscriber deadline (#124131)
Bump nest to 4.0.7
2024-08-17 12:11:19 -07:00
Allen Porter
dee06d5777
Bump python-nest-sdm to 4.0.6 (#123762) 2024-08-13 08:47:47 +02:00
epenet
a1b8545568
Fix unnecessary-return-none in nest (#122951) 2024-07-31 17:13:53 +02:00
epenet
9e10126505
Revert "Small refactor to cleanup unnecessary returns (#121653)" (#122756) 2024-07-29 12:59:25 +02:00
epenet
30b5297fde
Small refactor to cleanup unnecessary returns (#121653) 2024-07-10 09:34:48 +02:00
Allen Porter
edc7c58bba
Bump google-nest-sdm to 4.0.5 (#119255) 2024-06-10 08:35:54 +02:00
Allen Porter
f046545883
Fix nest to cancel event listener on config entry unload (#119257) 2024-06-10 08:18:50 +02:00
Marc Mueller
af65da3875
Add type ignore comments (#119052) 2024-06-07 11:13:33 +02:00
Allen Porter
978fe2d7b0
Bump to google-nest-sdm to 4.0.4 (#117982) 2024-05-23 20:27:48 +02:00
Allen Porter
fc931ac449
Stop the nest subscriber on Home Assistant stop (#117830) 2024-05-20 22:59:11 -07:00
Sid
ac54cdcdb4
Enable Ruff RUF010 (#115371)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-08 23:54:49 +02:00
Sid
e662e3b65c
Bump ruff to 0.4.2 (#116201)
* Bump ruff to 0.4.2

* review comments
2024-04-26 08:48:32 +02:00
Sid
895f73d8e4
Enable Ruff A001 (#115654) 2024-04-21 23:25:27 +02:00
Allen Porter
0aa7946208
Bump google-nest-sdm to 3.0.4 (#115731) 2024-04-17 21:23:58 +02:00
Marc Mueller
81c34ac952
Fix spelling [docstrings + comments] (#114168) 2024-03-25 11:33:00 +01:00
Joost Lekkerkerker
e6a692f354
Improve lists in integrations [N-O] (#113231) 2024-03-13 21:51:38 +01:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
G Johansson
8bec20ffa7
Add ClimateEntityFeatures to Nest (#109417) 2024-02-03 12:11:19 +01:00