19 Commits

Author SHA1 Message Date
Aaron Bach
82c4d344b2
Allow Flu Near You to re-attempt startup on error (#65481) 2022-02-03 14:31:15 +01:00
Franck Nijhof
eb5a321a9f
Mark removed config schemas as removed (#61014) 2021-12-21 12:46:10 +01:00
Marc Mueller
cd1b923e16
Use platform enum (2) [E-G] (#60933) 2021-12-04 13:26:40 +01:00
Aaron Bach
24c899cf50
Perform some Flu Near You code cleanup (#58860) 2021-11-14 19:10:05 +01:00
Aaron Bach
583ae3c953
Make sure Flu Near You data storage conforms to standards (#57808) 2021-10-23 20:18:34 +02:00
Aaron Bach
5483ab0cda
Enforce strict typing for Flu Near You (#53407) 2021-07-27 10:42:51 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension (#53147) 2021-07-19 06:57:06 -07:00
Aaron Bach
7bd8e2aa55
Remove redundant property definitions in Flu Near You (#52377) 2021-07-01 11:04:39 +02:00
J. Nick Koston
a67b9eff17
Reduce config entry setup/unload boilerplate D-F (#49733) 2021-04-26 20:46:49 -10:00
Quentame
198ecb0945
Uniformize platform setup (#47101)
* A platform is not a component

* Fix dynalite

* SUPPORTED_PLATFORMS --> PLATFORMS

* In tests

* In tests 2

* Fix SmartThings

* Fix ZHA test

* Fix Z-Wave

* Revert Z-Wave

* Use PLATFORMS const in ambient_station

* Fix ihc comment
2021-03-02 21:43:59 +01:00
Paulus Schoutsen
594e905742
Remove invalidation_version from deprecated (#44156)
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases

* Revert change to ZHA
2020-12-12 22:24:16 +01:00
Aaron Bach
8dbddd874f
Migrate Flu Near You to DataUpdateCoordinator (#42594)
* Migrate Flu Near You to DataUpdateCoordinator

* Prefer partial over lambda

* Remove overlap with CoordinatorEntity
2020-11-07 20:45:14 -06:00
Aaron Bach
3fb091c4ea
Deprecate YAML config for Flu Near You (0.119 removal) (#42535) 2020-10-28 19:54:51 -05: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
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +02:00
Aaron Bach
b8a5597d3e
Fix Flu Near You exception re: stale coroutines (#34880) 2020-04-29 14:29:44 -05:00
Aaron Bach
d1663f2733
Perform some small Flu Near You cleanup (#33590) 2020-04-03 19:47:42 +02:00
Aaron Bach
cb058ff6c0
Add config entry for Flu Near You (#32858)
* Add config flow for Flu Near You

* Cleanup

* Cleanup

* Add tests

* Add test requirements

* Code review

* Reduce unnecessary async-ness

* Handle API registration

* Cleanup

* Update homeassistant/components/flunearyou/.translations/en.json

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Code review

* Ensure config schema allows additional keys

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-04-02 16:54:11 -07:00
Paulus Schoutsen
f5076188ef
Consolidate all platforms that have no tests (#22096)
* 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