198 Commits

Author SHA1 Message Date
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
J. Nick Koston
85ca6f15be
Add some suggested units to unifiprotect sensors (#119790) 2024-06-16 15:04:28 -05:00
J. Nick Koston
03027893ff
Fix precision for unifiprotect sensors (#119781) 2024-06-16 13:54:58 -05:00
J. Nick Koston
59ca5b04fa
Migrate unifiprotect to use has_entity_name (#119759) 2024-06-16 09:00:14 -05:00
J. Nick Koston
f8bf357811
Remove set default doorbell text service from unifiprotect (#119695)
UI has removed this functionality in UI Protect 4.x

discovered via https://github.com/uilibs/uiprotect/issues/57
2024-06-14 21:25:14 +02:00
J. Nick Koston
6e322c310b
Split binary sensor classes in unifiprotect (#119696)
* Split binary sensor classes in unifiprotect

There were two types of binary sensors, ones that can change device_class at
run-time (re-mountable ones), and ones that cannot. Instead of having
branching in the class, split the class

* tweak order to match name
2024-06-14 13:16:49 -05:00
J. Nick Koston
09aa9cf842
Soften unifiprotect EA channel message (#119641) 2024-06-13 16:31:39 -05:00
J. Nick Koston
0c3a5ae5da
Dispatch unifiprotect websocket messages based on model (#119633) 2024-06-13 16:17:31 -05:00
J. Nick Koston
de27f24a4c
Use the existing api client for unifiprotect repairs if available (#119640)
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-06-13 16:17:11 -05:00
J. Nick Koston
db3029dc5f
Remove unreachable sensor code in unifiprotect (#119501) 2024-06-12 18:07:20 +02:00
J. Nick Koston
3f188b7e27
Migrate unifiprotect to use entry.runtime_data (#119507) 2024-06-12 17:49:18 +02:00
epenet
6bb9011db3
Fix use-implicit-booleaness-not-len warnings in tests (#119407) 2024-06-11 17:57:58 +02:00
William Taylor
30fab7b807
Add support for animal detection in unifiprotect (#116290)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-10 10:16:36 -05:00