Commit graph

21 commits

Author SHA1 Message Date
Aaron Bach
2b752355d6
Modify Tile to store a single dataclass in hass.data (#75459) 2022-07-20 11:15:30 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
Aaron Bach
b051704c4b
Add reauth flow to Tile (#62415) 2021-12-20 13:11:26 -07:00
Marc Mueller
b79b35abb5
Use platform enum (7) [T-Z] (#60948)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-04 14:10:01 +01:00
Aaron Bach
d024c5e698
Perform some Tile code cleanup (#58868) 2021-11-01 09:03:54 +01:00
Aaron Bach
6a8ff9ffe7
Fix bug that prevents multiple instances of Tile (#57942) 2021-10-17 20:32:18 -07:00
Aaron Bach
a71c5b760f
Make sure Tile data storage conforms to standards (#57818) 2021-10-16 09:37:36 -06:00
Aaron Bach
f4a7292f08
Enforce strict typing for Tile (#53410) 2021-07-27 11:51:57 +02:00
Aaron Bach
e29c75a68e
Remove redundant property definitions in Tile (#52448) 2021-07-03 11:29:52 -05:00
Aaron Bach
ddef5d2314
Refactor Tile entity unique ID migration to use helper (#52315)
* Refactor Tile entity unique ID migration to use helper

* Clarify

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-29 21:15:56 +02:00
Aaron Bach
f538e07902
Update Tile unique ID to include username (#52175) 2021-06-28 21:36:18 +02:00
J. Nick Koston
4b74c57285
Reduce config entry setup/unload boilerplate T-U (#49786) 2021-04-27 22:19:57 +02: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
Aaron Bach
4f3b10d661
Stop Tile setup on invalid auth (#45683) 2021-01-29 08:57:36 +01:00
Aaron Bach
3841f0e42d
Re-architect Tile integration with new pytile (#43071) 2021-01-27 12:06:09 +01:00
Aaron Bach
518e462e9a
Streamline Tile CoordinatorEntity (#43065) 2020-11-10 18:00:19 -07:00
springstan
d3b845c01a
Update tile to use CoordinatorEntity (#39439) 2020-08-30 11:32:32 -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
Aaron Bach
10f296ba17
Fix bug where Tile session would expire (#37185) 2020-06-27 21:54:50 -07:00
Aaron Bach
7a3c2e1f6c
Add config flow for Tile (#36173)
* Overhaul Tile

* Adjust coverage

* Fix tests

* Code review

* Code review

* Remove unused config flow step

* Revert "Remove unused config flow step"

This reverts commit cb206e0446.

* Fix tests
2020-06-04 10:07:27 -06: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