J. Nick Koston
0120d00081
Switch unifiprotect to use async_update_reload_and_abort helper ( #108934 )
2024-01-26 22:55:58 -05: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
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Christopher Bailey
bfd2eb50b2
Detect Early Access versions of UniFi Protect and Warn User ( #81758 )
2022-11-13 09:34:29 -06:00
J. Nick Koston
914ccdbc4f
Fix unload race in unifiprotect tests ( #81361 )
2022-11-01 13:21:20 -05:00
Franck Nijhof
dbb556a812
Revert "Add ability to ignore devices for UniFi Protect" ( #77916 )
2022-09-06 20:13:01 +02:00
Christopher Bailey
0867392f96
Add ability to ignore devices for UniFi Protect ( #77414 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-28 20:35:45 -05:00
Christopher Bailey
d139d1e175
Add UniFi Protect media source ( #73244 )
2022-08-08 10:00:50 -10:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Christopher Bailey
e67f8720e8
Refactor UniFi Protect tests ( #73971 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-25 08:15:38 -07:00
J. Nick Koston
9159db4b4a
Only update unifiprotect ips from discovery when the console is offline ( #73411 )
2022-06-12 20:04:17 -07:00
Christopher Bailey
5c2c602686
Bumps pyunifiprotect to 3.6.0 ( #72188 )
2022-05-19 20:34:58 -05:00
J. Nick Koston
03c91dad78
Fix missing title placeholders during unifiprotect reauth ( #70067 )
2022-04-15 07:31:50 -10:00
J. Nick Koston
02d245a31a
Fix reload race in unifiprotect ( #69485 )
...
- The integration already has a reload listener installed
once it is setup. We should not reload from the config
flow since they compete
2022-04-07 00:21:50 +03: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
b97cd3ce93
Do not update unifiprotect host from discovery if its not an ip ( #65548 )
2022-02-03 19:14:36 +01:00
J. Nick Koston
530fc8a9af
Ensure unifiprotect discovery can be ignored ( #65406 )
2022-02-02 16:16:29 +01:00
J. Nick Koston
18ea3fb85a
Prevent unifiprotect from being rediscovered on UDM-PROs ( #65335 )
2022-01-31 15:27:26 -08: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
8aec26d105
Cleanup unifiprotect discovery name ( #64389 )
2022-01-18 12:38:16 -10:00
J. Nick Koston
88261c6c14
Add discovery support to unifiprotect ( #64340 )
2022-01-18 08:40:29 -10:00
Christopher Bailey
d0d5222bf4
UniFi Protect test refactoring ( #63486 )
...
* UniFi Protect test refactoring
* More pylint fixes
* Use load_fixture helper
* yield to return where able
2022-01-05 19:29:59 +01:00
Christopher Bailey
dc3f21dd1e
Followup PR for UniFi Protect integration ( #62806 )
...
* Followup improvements from initial PR
* Update tests/components/unifiprotect/conftest.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update translations
* Fixes log message
* Fixes log message
* Unknown to cannot connect
* Update tests/components/unifiprotect/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fixes camera coverage
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:39:24 +01:00
Christopher Bailey
e982e7403a
Add unifiprotect integration ( #62697 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-25 20:12:57 -10:00