1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-08 16:09:22 +00:00

8 Commits

Author SHA1 Message Date
Anthony Mattas
ee1644c24e
Fix configuring Flo instances ()
* Update config_flow.py

Used constant string for consistency

* Update config_flow.py

Removed code for location ID and name the integration using the username

* Update manifest.json

Updated codeowners

* Update config_flow.py

* Update config_flow.py

Formatted with black

* Update manifest.json

Updated codeowners

* Update test_config_flow.py

Updated test
2023-04-10 12:37:36 -04: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
e652ff3a6a
Clean up connection classes in integrations D-G () 2021-04-30 21:02:21 -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
Aaron Bach
a880ef6a4e
Move Flo logger to a package logger () 2020-11-20 21:14:44 +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
David F. Mulcahey
6a24667944
Update Flo config flow and associated tests () 2020-08-11 14:13:40 +02:00
David F. Mulcahey
f1fd8aa51f
Add support for Flo by Moen water shutoff devices () 2020-08-10 14:19:38 +02:00