Commit graph

624 commits

Author SHA1 Message Date
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
Jan-Philipp Benecke
28281523ec
Add pylint plugin to check for sorted platforms list (#108115) 2024-01-16 09:47:53 +01:00
Jan Bouwhuis
f94167a4bb
Fix invalid oauth2_unauthorized translation ref (#103873)
* Fix invalids oauth2_unauthorized translation ref

* Fix oauth2_failed
2023-11-12 21:13:38 +01:00
Allen Porter
787fb3b954
Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Allen Porter
a373f5eac5
Bump google-nest-sdm to 3.0.3 (#103035) 2023-10-29 15:48:01 -07:00
Joost Lekkerkerker
2391087836
Use shorthand attributes in Nest (#99606) 2023-09-04 09:50:33 -07:00
Allen Porter
8afab4845a
Remove nest legacy service descriptions and translations (#99510) 2023-09-03 13:52:03 -07:00
Allen Porter
1048f47a91
Code cleanup for nest device info (#99511) 2023-09-02 19:38:41 +02:00
Allen Porter
1539853c0a
Update google-nest-sdm to 3.0.2 (#99175)
* Update google-nest-sdm to 3.0.2

* Fix device typing

* Update homeassistant/components/nest/device_info.py

Co-authored-by: jan iversen <jancasacondor@gmail.com>

---------

Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-31 20:33:36 -07:00
Allen Porter
7070302001
Use climate entity built in attrs for nest climate (#99093)
* Use climate entity built in attrs for nest climate

* Update homeassistant/components/nest/climate.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

---------

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2023-08-27 14:05:17 +03:00
uvjustin
407aa31adc
Generate Stream snapshots using next keyframe (#96991)
* Add wait_for_next_keyframe option to stream images
Add STREAM_SNAPSHOT to CameraEntityFeature
Use wait_for_next_keyframe option for snapshots using stream

* Update stream test comments

* Add generic camera snapshot test

* Get stream still images directly in camera
Remove getting stream images from generic, nest, and ONVIF
Refactor camera preferences
Add use_stream_for_stills setting to camera
Update tests

* Only attempt to get stream image if integration supports stream

* Use property instead of entity registry setting

* Split out getting stream prerequisites from stream_source in nest

* Use cached_property for rtsp live stream trait

* Make rtsp live stream trait NestCamera attribute

* Update homeassistant/components/nest/camera.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Change usage of async_timeout

* Change import formatting in generic/test_camera

* Simplify Nest camera property initialization

---------

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-08-26 10:39:40 -07:00
Ville Skyttä
c6c9d23530
Remove no longer used nest binary sensor (#98714) 2023-08-20 13:09:36 -07:00
Allen Porter
a0ac8ba5a6
Enforce a minimum temperature range for nest thermostats (#98238) 2023-08-11 12:21:19 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
90d839724c
Migrate integration services (N-P) to support translations (#96376) 2023-07-12 00:33:37 +02:00
Allen Porter
bc2319bbe6
Update Nest Legacy removal strings (#96229) 2023-07-10 11:22:15 +02:00
Allen Porter
c4a39bbfb1
Remove Legacy Works With Nest (#96111)
* Remove Legacy Works With Nest

* Simplify nest configuration

* Cleanup legacy nest config entries
2023-07-09 19:38:05 -07:00
Joost Lekkerkerker
1ead95f5ea
Use device class naming for Nest (#95742) 2023-07-02 18:10:29 -07:00
Joost Lekkerkerker
9d7007df63
Use explicit naming in Nest (#95532) 2023-06-29 14:49:46 +02:00