Commit graph

16 commits

Author SHA1 Message Date
Robert Hillis
72dbca4f5b
Address late feedback on Deluge config flow ()
Address late feedback on Deluge
2022-05-21 11:20:37 +02:00
Robert Hillis
4db289ad6e
Remove deprecated yaml config from Deluge () 2022-05-09 13:22:51 +02:00
Robert Hillis
e1ae940a34
Add config flow to deluge () 2022-03-22 21:01:24 -07:00
epenet
84221f656a
Add sensor setup type hints [c-d] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:16:42 +01:00
Marc Mueller
6637ed4868
Use EntityDescription - deluge () 2021-08-23 21:20:35 +02:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) () 2021-08-11 18:57:12 +02:00
Erik Montnemery
23b562386f
Migrate integrations d-e to extend SensorEntity () 2021-03-22 12:52:29 +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
springstan
d842dacfd6
Clean up access to config in various integrations v5 () 2020-04-15 14:10:07 +02:00
Ville Skyttä
3e23a3a860
Add and use bunch of data size and rate related constants ()
Also fix a few units to match the corresponding data.
2020-02-13 08:52:57 -08:00
springstan
69ae469148 Move imports to top for deluge () 2019-12-04 21:23:56 -08:00
Franck Nijhof
6a24d893c8 Use literal string interpolation in integrations B-D (f-strings) () 2019-09-03 17:09:59 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein
048b100eea Clean up docstrings ()
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00
Renamed from homeassistant/components/sensor/deluge.py (Browse further)