Allen Porter
8d5f927b42
Fix next authentication token error handling ( #138299 )
2025-02-11 21:47:36 +01:00
Allen Porter
b1f3068b41
Refresh the nest authentication token on integration start before invoking the pub/sub subsciber ( #138003 )
...
* Refresh the nest authentication token on integration start before invoking the pub/sub subscriber
* Apply suggestions from code review
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2025-02-09 12:31:18 -05:00
epenet
d0a188b86d
Standardize homeassistant imports in component tests (m-z) ( #136807 )
2025-01-29 08:57:57 +01:00
Allen Porter
3ac062453f
Update nest config flow to create pub/sub topics ( #136609 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-28 11:53:57 +01:00
epenet
fe010289b4
Use new ServiceInfo location in component tests (part 2) ( #136062 )
2025-01-20 13:13:45 +01:00
Joost Lekkerkerker
8db63adc11
Bump ruff to 0.9.1 ( #135197 )
2025-01-14 11:46:12 +01:00
John Barreiros
c8699dc066
Add `current_humidity` state attribute to Google Nest climate entity ( #134426 )
2025-01-02 10:44:15 +01:00
Allen Porter
c75222e63c
Bump python-google-nest-sdm to 7.0.0 ( #134016 )
...
Update python-google-nest-sdm to 7.0.0
2024-12-26 00:03:44 -05:00
Robert Resch
154282ff5c
Deprecate camera frontend_stream_type ( #130932 )
2024-11-22 13:42:33 +01:00
Robert Resch
e48857987b
Use camera_capabilities instead frontend_stream_type ( #130604 )
2024-11-18 20:26:45 +01:00
Allen Porter
b64f33e1d7
Remove Nest code related to Works with Nest API removal ( #130785 )
2024-11-16 23:07:00 -05: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
73a62a09b0
Update nest tests to unload config entries to perform clean teardown ( #130266 )
2024-11-10 09:54:52 +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
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
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
Robert Resch
675ee8e813
Add async webrtc offer support ( #127981 )
...
* Add async webrtc offer support
* Create dataclass for messages
* Send session ID over websocket
* Fixes
* Rename
* Implement some review findings
* Add WebRTCError and small renames
* Use dedicated function instead of inspec
* Update go2rtc-client to 0.0.1b1
* Improve checking for sync offer
* Revert change as not needed anymore
* Typo
* Fix tests
* Add missing go2rtc tests
* Move webrtc offer tests to test_webrtc file
* Add ws camera/webrtc/candidate tests
* Add missing tests
* Implement suggestions
* Implement review changes
* rename
* Revert test to use ws endpoints
* Change doc string
* Don't import from submodule
* Get type form class name
* Update homeassistant/components/camera/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Adopt tests
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix tests
---------
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik <erik@montnemery.com>
2024-10-28 15:46:15 +01:00
G Johansson
711e0ee503
Change camera state to an enum ( #126558 )
...
* Change camera state to an enum
* copy/paste mistake
* Add test deprecated constants
2024-09-24 12:12:01 +02:00
epenet
1a478bd78a
Use root import for media_player and media_source in tests ( #125829 )
2024-09-12 14:55:29 +02: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
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
epenet
93f791e5d0
Add missing hass type hint in component tests (n) ( #124225 )
2024-08-20 12:48:06 +02:00
epenet
178482068d
Add missing return type in test __init__ method (part 3) ( #123940 )
2024-08-14 17:38:30 +02:00
epenet
5608301178
Add missing return type in test __init__ methods ( #123932 )
...
* Add missing return type in test __init__ methods
* Adjust
2024-08-14 16:48:52 +02:00
epenet
86f7718c1f
Adjust type hints for unnecessary returns in tests ( #121657 )
2024-07-10 09:30:50 +02:00
epenet
4b4b17e774
Improve hass type hints for autouse fixtures in tests ( #121311 )
2024-07-05 15:49:22 +01:00
epenet
195f07a18a
Use service_calls fixture in nest tests ( #120987 )
2024-07-02 08:02:17 -07:00
Marc Mueller
921430d497
Import Generator from collections.abc (3) ( #120916 )
2024-07-01 12:09:11 +02:00
epenet
3e9d25f81d
Add missing argument type hints to component tests ( #119671 )
2024-06-14 09:26:46 +02:00
epenet
dda6ccccd2
Fix dangerous-default-value in nest tests ( #119561 )
...
* Fix dangerous-default-value in nest tests
* Adjust
* Adjust
2024-06-12 23:32:55 -07:00
epenet
a0c445764c
Ignore super-init-not-called pylint warnings in tests ( #119474 )
2024-06-12 17:54:38 +02:00
epenet
c70cfbb535
Fix arguments-renamed pylint warning in tests ( #119473 )
2024-06-12 12:25:29 +02:00
epenet
fbaba3753b
Fix root-import pylint warning in components ( #119294 )
...
* Fix root-import pylint warning in components
* Adjust
* Adjust
2024-06-10 15:14:49 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
Marc Mueller
33ed4fd862
Import Generator from typing_extensions (3) ( #118990 )
2024-06-06 17:28:59 +02:00
epenet
3ac0fa53c8
Cleanup unused FixtureRequest in tests ( #118780 )
2024-06-04 11:49:21 +02:00
epenet
461ac1e0bc
Add ClientSessionGenerator type hints in tests ( #118377 )
2024-05-29 14:49:14 +02:00
epenet
d10362e226
Add AiohttpClientMocker type hints in tests ( #118373 )
2024-05-29 14:38:46 +02:00
epenet
166c588cac
Add LogCaptureFixture type hints in tests ( #118372 )
2024-05-29 14:10:00 +02:00
epenet
98d24dd276
Improve typing for `calls` fixture in tests (m-z) ( #118350 )
...
* Improve typing for `calls` fixture in tests (m-z)
* More
* More
2024-05-29 09:30:41 +02:00
epenet
a59621bf9e
Add more type hints to pylint plugin ( #118319 )
2024-05-28 18:37:38 +02:00
epenet
ead0e797c1
Use registry fixtures in tests (m-n) ( #118291 )
2024-05-28 13:40:45 +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
7a6b107248
Move nest diagnostic tests to use snapshots ( #117929 )
2024-05-22 14:11:07 -04:00
Allen Porter
fc931ac449
Stop the nest subscriber on Home Assistant stop ( #117830 )
2024-05-20 22:59:11 -07:00
Marc Mueller
1ad8151bd1
Use PEP 695 type alias in tests ( #117797 )
2024-05-20 19:03:04 +02:00
Marc Mueller
3cd1717437
Improve YieldFixture typing ( #117686 )
2024-05-18 12:35:02 +02:00