1
0
mirror of https://github.com/home-assistant/core.git synced 2025-10-09 19:59:30 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Sid
2cc916db6d Replace pylint broad-except with Ruff BLE001 () 2024-05-07 14:00:27 +02:00
Marc Mueller
ff3a801936 Add empty line after module docstring [a-d] () 2024-03-08 14:51:32 +01:00
Erik Montnemery
6fe28d3764 Migrate integrations a-d to generic flowhandler () 2024-02-29 20:07:14 +01:00
mkmer
4dbaa576a7 Remove unused option flow from blink ()
* Remove unused option flow

* remove update listener

* adjust scan_interval to original default

* default scn interval back to 30s
2024-01-09 16:06:04 +01:00
mkmer
9444e1e2ab Address Blink late review ()
* Address late review topics

* Missing await, optimize config_flow call

* Address proper mock for blink

* Address typing
2023-10-16 17:41:56 +02:00
mkmer
eaf6197d43 Bump Blinkpy to 0.22.2 in Blink () 2023-10-16 13:41:45 +02:00
Marc Mueller
ab3bc1b74b Improve blink config_flow typing () 2023-09-06 17:00:16 +02:00
Joost Lekkerkerker
fae50169d9 Add typing to Blink config flow () 2023-08-30 11:50:47 +02:00
epenet
1b23429f41 Add __init__ return type to integrations () 2023-02-07 15:55:14 +01:00
epenet
5be961f07f Use SchemaOptionsFlowHandler in blink ()
* Use SchemaOptionsFlowHandler in blink

* Use config entry update listener

* Adjust tests

* Simplify options init

* Don't reload

* Use selector
2022-11-30 14:59:26 +01:00
epenet
078c5cea86 Adjust async_step_reauth in blink () 2022-06-29 11:54:21 +02:00
epenet
b589700651 Add async_get_options_flow type hints (a-m) () 2022-06-13 13:17:59 +02:00
Michael
b68a2747f3 Use relative imports [A-H] () 2021-12-13 20:03:01 +01:00
Franck Nijhof
d4d0b93d3b Clean up connection classes in integrations A-C () 2021-04-30 21:01:52 -10:00
Kevin Fronczak
8900b38c7f Add Blink config migration () 2021-03-23 09:24:42 +01:00
Bob Matcuk
0cff069c98 Fix bug with blink auth flow () 2021-01-04 12:33:34 +01:00
Ville Skyttä
b4bac0f7a0 Exception chaining and wrapping improvements ()
* Remove unnecessary exception re-wraps

* Preserve exception chains on re-raise

We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.

The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.

Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.

* Fix mistaken re-wrap in homematicip_cloud/hap.py

Missed the difference between HmipConnectionError and
HmipcConnectionError.

* Do not hide original error on plex new cert validation error

Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307 Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
Kevin Fronczak
3fdec7946c Blink auth flow improvement and mini camera support () 2020-08-05 12:21:14 +02:00
Kevin Fronczak
82090f5060 Add options flow to Blink () 2020-06-10 18:38:17 +02:00
Kevin Fronczak
85726b67b7 Add config flow and 2FA support for Blink () 2020-05-13 15:50:29 +02:00