Commit graph

14 commits

Author SHA1 Message Date
sdb9696
cf6c72fdbd
Bump ring_doorbell to 0.8.0 and handle new exceptions ()
* Bump ring_doorbell to 0.8.0 and handle the new exceptions

* Modify data update tests to not call coordinator internals
2023-11-13 23:15:19 -08:00
Marc Mueller
58e8f53117
Improve ring typing () 2023-01-24 16:35:11 +01:00
epenet
9205020fa4
Avoid import homeassistant.const as a module () 2023-01-16 16:49:49 +01:00
Milan Meulemans
63e20f2ced
Mark config flow fields as required ()
* flo

* goalzero

* mutesync

* ring

* roon

* risco

* Ruckus Unleashed

* Scaffold template
2021-06-15 19:21:30 +02:00
Franck Nijhof
8eb27374c6
Clean up connection classes in integrations P-S () 2021-04-30 21:04:44 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 ()
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10: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
Paulus Schoutsen
ced870c588
Remove YAML config from Ring integration () 2020-02-21 17:36:19 -08:00
Paulus Schoutsen
1e82813c3b
Refactor Ring data handling ()
* Refactor Ring data handling

* Add async_ to methods
2020-01-15 08:10:42 -08:00
Paulus Schoutsen
c4673ddee1
Update Ring to 0.6.0 ()
* Update Ring to 0.6.0

* Update sensor tests

* update -> async_update

* Delete temp files

* Address comments

* Final tweaks

* Remove stale print
2020-01-14 12:54:45 -08:00
Paulus Schoutsen
9266fc0cd7
Ring OTP improvement ()
* Fix otp flow

* Update Ring to 0.5

Co-authored-by: steve-gombos <3118886+steve-gombos@users.noreply.github.com>
2020-01-11 18:22:08 -08:00
Paulus Schoutsen
7073b0eb88
Upgrade Ring to new version ()
* Upgrade Ring to new version

* Move legacy cleanup down

* Fix test
2020-01-11 16:04:39 -08:00
Paulus Schoutsen
3f29c234b8
Add Ring config flow ()
* Add Ring config flow

* Address comments + migrate platforms to config entry

* Migrate camera too

* Address comments

* Fix order config flows

* setup -> async_setup
2020-01-10 21:35:31 +01:00