Commit Graph

210 Commits (master)

Author SHA1 Message Date
Raphael Hehl 8afe3fed74
Handle Unifi Protect BadRequest exception during API key creation (#150223) 2025-08-11 09:30:35 +00:00
Norbert Rittel cbf4409db3
Fix inconsistent spelling of "Wi-Fi" in `unifiprotect` (#149311)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-07-25 09:51:01 -10:00
Raphael Hehl 56fb59e48e
Unifiprotect refactor device description ID retrieval in tests (#149445) 2025-07-25 09:21:57 -10:00
Raphael Hehl dbc2b1354b
UnifiProtect refactor sensor retrieval in tests to use get_sensor_by_key function (#149398) 2025-07-24 10:11:47 -10:00
Raphael Hehl b966b59c09
Unifiprotect public api snapshot (#149213) 2025-07-23 13:37:34 -10:00
Raphael Hehl 51a46a128c
Begin migrating unifiprotect to use the public API (#149126)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-07-22 22:46:52 -10:00
G Johansson 7e04a7ec19
Use OptionsFlowWithReload in unifiprotect (#149064) 2025-07-19 17:40:16 +02:00
Raphael Hehl 8a18dea8c7
UniFi Protect removing early access checks and issue creation (#147432)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-27 17:15:34 +02:00
Jan Rieger ba0f6c3ba2
Add translations to Unifi Protect (#145548)
* Add translations to Unifi Protect

* address comments

* change `CO` to `CO alarm`
2025-05-26 14:56:55 +02:00
Raphael Hehl f472bf7c87
Bump uiprotect to version 7.9.2 (#145583) 2025-05-25 18:42:02 +02:00
Robert Resch c4ceb4759a
Remove deprecated camera frontend_stream_type (#144539) 2025-05-09 13:08:34 +02:00
Marc Mueller 961f8afe53
Remove debug option in unifiprotect tests (#143296) 2025-04-19 14:00:22 -10:00
Marc Mueller 30c0a1492c
Update codespell to 2.4.1 (#137312) 2025-02-04 12:16:24 +01:00
epenet d0a188b86d
Standardize homeassistant imports in component tests (m-z) (#136807) 2025-01-29 08:57:57 +01:00
epenet 64500e837f
Use new ServiceInfo location in component tests (part 1) (#136057) 2025-01-20 13:09:34 +01:00
Eli Schleifer 875727ed27
add proxy view for unifiprotect to grab snapshot at specific time (#133546)
Co-authored-by: J. Nick Koston <nick@koston.org>
2025-01-06 13:49:58 -10:00
Raphael Hehl f1c62000e1
UnifiProtect Refactor light control methods to use new API (#134625) 2025-01-06 13:48:22 -10:00
Raphael Hehl 197ff932af
Bump uiprotect to version 7.2.0 (#134587) 2025-01-04 00:27:06 +01:00
Marc Mueller adc97b6c15
Fix unifiprotect DeprecationWarnings in tests (#134060) 2024-12-26 23:50:03 +01:00
Raphael Hehl df26166047
Unifiprotect: add error message if the get_user_keyring_info permissions are not sufficient (#133841) 2024-12-22 23:58:13 +01:00
Raphael Hehl 0f18f128fd
Unifiprotect Add user information retrieval for NFC and fingerprint events (#132604)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-12-22 10:50:30 -10:00
Raphael Hehl 6c70586f7e
Add get_user_keyring_info service to UniFi Protect integration (#133138)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-12-22 08:54:14 -10:00
Raphael Hehl e4bb351d2d
Bump uiprotect to 7.1.0 (#133520)
* Bump uiprotect to version 7.1.0

* Add aiports to bootstrap fixture in unifiprotect tests
2024-12-18 21:41:22 +01:00
J. Nick Koston 165ca5140c
Bump uiprotect to 7.0.2 (#132975) 2024-12-13 20:05:41 -06:00
Raphael Hehl cb36184511
fix: unifiprotect prevent RTSP repair for third-party cameras (#132212)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-12-03 23:03:31 -06:00
Raphael Hehl 1f1fdf80db
Unifiprotect replace direct mocks with MockConfigEntry for test_async_ufp_instance_for_config_entry_ids (#131736)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-27 11:03:34 -06:00
Lutz fda178da23
Add video event proxy endpoint for unifiprotect (#129980)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-27 11:03:21 -06:00
Raphael Hehl f4b57617fb
Unifiprotect fix missing domain check (#131724) 2024-11-27 16:23:59 +01:00
Raphael Hehl 91e4939bf0
Add fingerprint and nfc event support to unifiprotect (#130840)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-26 10:00:34 +01:00
Raphael Hehl cb4636ada1
Bump uiprotect to 6.6.2 (#131475)
* Bump uiprotect to 6.6.2

* test(data): update test data to include readLive permissions

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2024-11-25 01:48:05 +01:00
Robert Resch 999f3e0d77
Use RTCIceCandidateInit instead of RTCIceCandidate (#130901) 2024-11-18 21:41:50 -05:00
TheJulianJES 182be6e0ea
Fix failing UniFi Protect tests on some systems (#129516) 2024-11-08 23:10:29 +01:00
J. Nick Koston e8c3539709
Disable SRTP for unifiprotect RTSPS stream (#129852) 2024-11-04 16:13:52 -06:00
J. Nick Koston 3584c710b9
Fix unifiprotect supported features being set too late (#129850) 2024-11-04 15:13:56 -06:00
G Johansson 93aade6e8e
Change lock state to an enum (#126379)
* Add new LockState enum for lock states

* Add rest

* Fix insteon tests

* Fix mqtt tests

* Fix tesla_fleet

* Revert back ST_STATE_LOCKED

* Add back constant
2024-09-24 12:30:50 +02:00
G Johansson 711e0ee503
Change camera state to an enum (#126558)
* Change camera state to an enum

* copy/paste mistake

* Add test deprecated constants
2024-09-24 12:12:01 +02:00
epenet 6d212ea24e
Add helper functions for repair tests (#125886)
* Expose repairs constants and function for other components

* Reorder

* Use helper methods

* Adjust core_files

* Improve

* Update test_migrate.py
2024-09-14 03:31:44 +02:00
Paulus Schoutsen c3921f2112
Add model ID to unifiprotect (#125376) 2024-09-05 19:44:28 -04:00
J. Nick Koston cd89db9bb6
Add coverage for late unifiprotect person detection events (#125103) 2024-09-02 09:26:02 -10:00
epenet edad766fd3
Use start_reauth helper method in integration tests (u-z) (#124796) 2024-08-28 16:51:16 +02:00
epenet 5d87a74c3c
Fix implicit-return in unifiprotect tests (#122781) 2024-07-29 21:50:45 +02:00
Sid 4620a54582
Bump Ruff to 0.5.3 (#122167) 2024-07-19 12:06:53 +02:00
J. Nick Koston 2cfd6d53bd
Add event platform to unifiprotect (#120681)
* Add event platform to unifiprotect

* Add event platform to unifiprotect

* Add event platform to unifiprotect

* Add event platform to unifiprotect

* adjust

* tweaks

* translations

* coverage

* coverage

* Update tests/components/unifiprotect/test_event.py
2024-06-29 07:49:14 +02:00
J. Nick Koston 07b70cba10
Fix dropped unifiprotect motion events (#120489) 2024-06-26 08:32:43 +02:00
J. Nick Koston ea0c93e3db
Update uiprotect to 3.1.1 (#120173) 2024-06-22 18:11:48 -05:00
J. Nick Koston 47587ee3fb
Fix race against is_smart_detected in unifiprotect (#120133) 2024-06-21 17:11:28 -05:00
J. Nick Koston 4d11dd6739
Add additional license plate test coverage to unifiprotect (#120125) 2024-06-21 15:16:33 -05:00
J. Nick Koston c3ab72a1f9
Fix comparing end of event in unifiprotect (#120124) 2024-06-21 14:48:09 -05:00
J. Nick Koston 4de8cca911
Disable generic unifiprotect object sensors by default (#120059) 2024-06-20 22:12:31 -05:00
J. Nick Koston 68462b014c
Fix unifiprotect smart detection when end is set (#120027) 2024-06-20 22:03:07 -05:00