core/tests/components/unifiprotect
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
..
fixtures
__init__.py Remove previously deprecated Detected Object from unifiprotect (#85656) 2023-02-20 22:14:01 +01:00
conftest.py
test_binary_sensor.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_button.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_camera.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_config_flow.py Fix unifiprotect discovery running at shutdown (#88802) 2023-02-26 21:08:20 -05:00
test_diagnostics.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_init.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_light.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_lock.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_media_player.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_media_source.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_migrate.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_number.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_recorder.py Exclude event_id and event_score from being recorded in unifiprotect (#88387) 2023-02-20 14:09:56 +01:00
test_repairs.py Remove previously deprecated Detected Object from unifiprotect (#85656) 2023-02-20 22:14:01 +01:00
test_select.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_sensor.py Remove previously deprecated Detected Object from unifiprotect (#85656) 2023-02-20 22:14:01 +01:00
test_services.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_switch.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_text.py Add type hints to integration tests (part 23) (#88235) 2023-02-17 16:40:46 +01:00
test_views.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
utils.py