hass-core/homeassistant/components/isy994
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
..
translations [ci skip] Translation update 2020-08-27 00:04:55 +00:00
__init__.py Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
binary_sensor.py Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
climate.py Fix error on empty UOM for ISY994 Climate Device (#36454) 2020-06-05 00:22:35 +02:00
config_flow.py Exception chaining and wrapping improvements (#39320) 2020-08-28 13:50:32 +02:00
const.py Use LENGTH_FEET constant (#34053) 2020-06-10 21:38:29 +02:00
cover.py Fix error on empty UOM for ISY994 Climate Device (#36454) 2020-06-05 00:22:35 +02:00
entity.py Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
fan.py Code conformance and sensor value clean-up on ISY994 (#35514) 2020-05-11 21:32:19 -05:00
helpers.py Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
light.py Code conformance and sensor value clean-up on ISY994 (#35514) 2020-05-11 21:32:19 -05:00
lock.py Code conformance and sensor value clean-up on ISY994 (#35514) 2020-05-11 21:32:19 -05:00
manifest.json Add ssdp discovery for isy994 (#35568) 2020-05-13 11:15:17 -05:00
sensor.py Code conformance and sensor value clean-up on ISY994 (#35514) 2020-05-11 21:32:19 -05:00
services.py Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
services.yaml Add Device and Integration Services to ISY994 (#35467) 2020-05-11 10:58:58 -05:00
strings.json Add ssdp discovery for isy994 (#35568) 2020-05-13 11:15:17 -05:00
switch.py Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00