Commit Graph

568 Commits (906d3977363be1c46933e0ddb6dbb290effe229f)

Author SHA1 Message Date
Franck Nijhof 1e05697080
Enable Ruff B007 (#88356)
* Enable Ruff B007

* Adjust existing cases
2023-02-17 21:08:18 -05:00
Erik Montnemery 1d64ba9d34
Sort manifests 6 (#87027) 2023-02-08 20:38:43 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof 3d557b5583
Collection of code styling tweaks (#87381) 2023-02-04 12:52:26 -05:00
Franck Nijhof fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
Franck Nijhof ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
epenet afa55156d6
Improve typing in nest legacy platforms (#87071) 2023-02-01 06:57:53 -08:00
PeteRager e706696271
Nest - Climate shorten line to be less than 88 chars (#86989)
Lines to be less than 88
2023-01-30 19:14:24 -08:00
PeteRager d22e670334
Avoid Nest climate set_temperature eating error (#86920)
* Update climate_sdm.py

* Update test case to detect KeyError

* Throw a defined exception if the condition in encoutered

Include keys from device_traits in error message

* Less diagnostic information in error message
2023-01-30 08:01:41 -08:00
Franck Nijhof 3b5fd4bd06
Enable Ruff TRY004 (#86811) 2023-01-30 14:06:52 +01:00
PeteRager a7ddd592fb
Nest improve error message on climate actions (#86853)
* Nest - Climate - Error Messages

1. Error messages were incorrect for some methods, for example async_set_temperature was reporting failure to set hvac_mode. This is corrected.
2. Error messages were incomplete and were not including the entity_id,and the operation being performed that failed.
3. Add unit tests to test the exception handling

* Move tests into exiisting error test

* Improve readability of error message
2023-01-28 12:58:28 -08:00
Allen Porter 733798f483
Fix nest climate set temperature error message string (#86852) 2023-01-28 11:02:46 -08:00
Luca Angemi efd2817221
Add state class to nest legacy sensors (#86810)
* Add state class to nest legacy sensors

Add state class (measurement) to humidity and temperature for the nest legacy sensors.

* Update

Update
2023-01-27 21:20:51 -08:00
GitHub Action 072f228e4d [ci skip] Translation update 2023-01-28 00:23:36 +00:00
Allen Porter ba63a9600e
Bump google-nest-sdm to 2.2.4 (#86595) 2023-01-25 08:29:07 +01:00
J. Nick Koston 5c6656dcac
Migrate legacy nest to use async_forward_entry_setups (#86573)
Replaces deprecated async_setup_platforms with async_forward_entry_setups
2023-01-24 18:32:55 -08:00
GitHub Action 87b2a73460 [ci skip] Translation update 2023-01-18 00:24:40 +00:00
GitHub Action d2e11797f8 [ci skip] Translation update 2023-01-17 00:24:30 +00:00
Allen Porter 1afb4897a8
Add a timeout during OAuth token exchange and additional debug logging (#85911) 2023-01-16 19:52:43 +01:00
Allen Porter a653ea30bd
Bump google-nest-sdm to 2.2.2 (#85899)
* Bump google-nest-sdm to 2.2.0

* Bump nest to 2.2.1

* Bump google-nest-sdm to 2.2.2
2023-01-15 04:30:21 +01:00
GitHub Action dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
epenet 1766df3faa
Improve integration type hints for diagnostics (#85526) 2023-01-09 15:17:48 +01:00
GitHub Action 01e99c0229 [ci skip] Translation update 2023-01-05 00:23:39 +00:00
GitHub Action 6220804639 [ci skip] Translation update 2023-01-02 00:23:28 +00:00
Allen Porter e5b6f05e5b
Bump google-nest-sdm to 2.1.2 (#84926) 2023-01-01 15:19:31 +01:00
GitHub Action b3ab0a0199 [ci skip] Translation update 2022-12-29 00:23:20 +00:00
GitHub Action 31a3f1100a [ci skip] Translation update 2022-12-24 00:19:43 +00:00
Franck Nijhof baef267f33
String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
epenet d60fe7e7cd
Use UnitOfTemperature in integrations (n-o) (#84306) 2022-12-20 18:39:09 +01:00
GitHub Action 1e0345a377 [ci skip] Translation update 2022-12-10 00:21:35 +00:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action 3ab9a14ce7 [ci skip] Translation update 2022-12-06 00:21:31 +00:00
GitHub Action 03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action 0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
GitHub Action 197e71203b [ci skip] Translation update 2022-11-30 00:26:16 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action 33d391a110 [ci skip] Translation update 2022-11-24 00:26:32 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
epenet 48cc3071bb
Enforce ClimateEntityFeature (#82329) 2022-11-22 07:08:53 +01:00
epenet 8b54a0679f
Enforce CameraEntityFeature (#82325) 2022-11-22 07:08:28 +01:00
epenet 44b28d67f1
Use _attr_supported_features in nest climate (#82217) 2022-11-17 04:03:50 -08:00
Allen Porter 4bf233a4c1
Bump python-google-nest-sdm to 2.1.0 (#82066) 2022-11-13 18:24:32 -08:00
GitHub Action c7fc51cfa5 [ci skip] Translation update 2022-11-04 00:29:52 +00:00
GitHub Action a4b8124a10 [ci skip] Translation update 2022-10-23 00:36:20 +00:00
GitHub Action 0199e0a756 [ci skip] Translation update 2022-10-21 00:30:37 +00:00
GitHub Action 388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00