Commit Graph

5 Commits (d75862762b842ab937aa28917ce7a82bcc1b2012)

Author SHA1 Message Date
Guy Khmelnitsky 85c6a24665
Bump Glances to 0.3.4 to fix async_timeout passing loop (#62090)
* Bump Glances to 0.3.2 to fix async_timeout passing loop

* Update requirements_all.txt

* Update requirements_test_all.txt

* Update config_flow.py

* Update __init__.py

* Update __init__.py

* Update strings.json

* Update config_flow.py

* Update config_flow.py

* Update __init__.py

* Update bg.json

* Remove `verify_ssl` translation

* Revert "Remove `verify_ssl` translation"

This reverts commit 906f9a01ea.

* Revert "Update bg.json"

This reverts commit 1d0e69351f.

* Update __init__.py

* Update __init__.py

* Update test_config_flow.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update homeassistant/components/glances/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update __init__.py

* Update config_flow.py

* Update strings.json

* Update test_config_flow.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update to glances_api 0.3.4 - with httpx_client parameter

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-17 09:32:54 +01:00
J. Nick Koston a4ea9b3cd3
Update usage of async_entries to use _async_current_entries (#50187) 2021-05-12 12:47:06 +02:00
Franck Nijhof e652ff3a6a
Clean up connection classes in integrations D-G (#49890) 2021-04-30 21:02:21 -10: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
Rami Mosleh 09f9875ccf Glances config flow (#27221)
* Glances Integration with config flow

* Glances Integration with config flow

* fix description texts

* Glances Integration with config flow

* Glances Integration with config flow

* fix description texts

* update .coverage.py

* add codeowner

* add test_options

* Fixed typos, Added import, fixed tests

* sort imports

* remove commented code
2019-10-21 10:17:21 +02:00