Commit Graph

18 Commits (e0fc328e279d229653755ba37096dd84b8d7613a)

Author SHA1 Message Date
mkmer 4dbaa576a7
Remove unused option flow from blink (#106735)
* 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 (#102106)
* 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 (#98571) 2023-10-16 13:41:45 +02:00
Marc Mueller ab3bc1b74b
Improve blink config_flow typing (#99579) 2023-09-06 17:00:16 +02:00
Joost Lekkerkerker fae50169d9
Add typing to Blink config flow (#98873) 2023-08-30 11:50:47 +02:00
epenet 1b23429f41
Add __init__ return type to integrations (#87637) 2023-02-07 15:55:14 +01:00
epenet 5be961f07f
Use SchemaOptionsFlowHandler in blink (#82903)
* 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 (#74167) 2022-06-29 11:54:21 +02:00
epenet b589700651
Add async_get_options_flow type hints (a-m) (#73430) 2022-06-13 13:17:59 +02:00
Michael b68a2747f3
Use relative imports [A-H] (#61574) 2021-12-13 20:03:01 +01:00
Franck Nijhof d4d0b93d3b
Clean up connection classes in integrations A-C (#49888) 2021-04-30 21:01:52 -10:00
Kevin Fronczak 8900b38c7f
Add Blink config migration (#46671) 2021-03-23 09:24:42 +01:00
Bob Matcuk 0cff069c98
Fix bug with blink auth flow (#44769) 2021-01-04 12:33:34 +01:00
Ville Skyttä b4bac0f7a0
Exception chaining and wrapping improvements (#39320)
* 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 (#39287) 2020-08-27 13:56:20 +02:00
Kevin Fronczak 3fdec7946c
Blink auth flow improvement and mini camera support (#38027) 2020-08-05 12:21:14 +02:00
Kevin Fronczak 82090f5060
Add options flow to Blink (#35645) 2020-06-10 18:38:17 +02:00
Kevin Fronczak 85726b67b7
Add config flow and 2FA support for Blink (#35396) 2020-05-13 15:50:29 +02:00