Commit Graph
8 Commits
Author SHA1 Message Date
epenet 2df5d34374 Fix lingering timer in unifiprotect discovery (#91695) 2023-04-19 21:02:37 +02:00
J. Nick Koston 480a495239 Fix unifiprotect discovery running at shutdown (#88802)
* Fix unifiprotect discovery running at shutdown

Move the discovery start into `async_setup` so we only
start discovery once reguardless of how many config entries
for unifiprotect they have (or how many times they reload).

Always make discovery a background task so it does not get
to block shutdown

* missing decorator
2023-02-26 21:08:20 -05:00
Paulus Schoutsen a5170340a3 Fix dangling task for unifiprotect (#88300) 2023-02-16 22:05:06 -06:00
J. Nick Koston eeb9a9f058 Make sure all discovery flows are using the helper (#76641) 2022-08-12 09:25:23 -04:00
J. Nick Koston 2b43293363 Switch unifiprotect to use integration discovery (#66569)
Backstory: https://github.com/home-assistant/core/pull/65752#discussion_r800068914
2022-02-15 17:02:33 +01:00
J. Nick Koston f38a00740f Unifi protect discovery cleanups (#64413) 2022-01-19 08:50:24 +01:00
J. Nick Koston 3c7005d4dc Use unifi direct connect w/ssl verify for unifiprotect when possible (#64395) 2022-01-18 14:40:55 -10:00
J. Nick Koston 88261c6c14 Add discovery support to unifiprotect (#64340) 2022-01-18 08:40:29 -10:00