Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Christopher Bailey
5890a7d38c
Add person tracking for UniFi Protect ( #111289 )
2024-02-29 16:26:24 -10:00
Christopher Bailey
ae60f59bed
Add metadata for UniFi Protect Media Source ( #109389 )
2024-02-22 14:44:16 -10:00
Christopher Bailey
7eb6614818
Guide users to migrate from Ubiquiti Cloud Accounts to local for UniFi Protect ( #111018 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-20 23:32:47 -06:00
Christopher Bailey
fb04df5392
Improve UniFi Protect re-auth ( #110021 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-20 23:31:42 -06:00
J. Nick Koston
2fe246441f
Fix formatting of mac addresses from dhcp discovery mocking in unifiprotect ( #110610 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:19 -05:00
J. Nick Koston
15e8d66fea
Migrate unifiprotect to use async_update_entry to alter config entries ( #110409 )
2024-02-12 21:38:25 +01:00
J. Nick Koston
0120d00081
Switch unifiprotect to use async_update_reload_and_abort helper ( #108934 )
2024-01-26 22:55:58 -05:00
Christopher Bailey
99e25d94c0
Rework events for UniFi Protect ( #107771 )
2024-01-10 19:02:16 -10:00
Christopher Bailey
ec8a33b52d
Rework state change detection for UniFi Protect entities ( #107766 )
2024-01-10 18:06:45 -10:00
Christopher Bailey
e595d24d78
Add leak sensor for UP Sense for UniFi Protect ( #107762 )
2024-01-10 15:32:05 -10:00
Mike Megally
9b2c67fcd2
Add Color Night Vision switch for UniFi Protect ( #106500 )
...
* Add a switch to enable and disable "Color Night Vision" for the Unifi Protect platform, which is a feature on the new G5 Pro cameras with a "Vision Enhancer" attached
* Updated tests for the new switch
2023-12-27 09:56:54 -10:00
Ville Skyttä
93683cef27
Use zoneinfo instead of pytz, mark pytz as banned in ruff ( #98613 )
...
Refs #43439 , #49643 .
2023-08-18 19:10:29 +02:00
Erik Montnemery
2257e7454a
Remove unreferenced issues ( #96264 )
...
* Remove unreferenced issues
* Remove outdated tests
2023-07-11 14:15:16 -04:00
Christopher Bailey
9b6a9147c7
Fix multiple smart detects firing at once for UniFi Protect ( #94133 )
...
* Fix multiple smart detects firing at once
* Tweak
* Clean up logging. Linting
* Linting
2023-06-06 20:07:21 -04:00
J. Nick Koston
11131070ab
Bump pyunifiprotect to 4.8.3 ( #92251 )
2023-04-29 18:59:44 +02:00
Christopher Bailey
5dcc4d49c8
Bump unifiprotect to 4.8.1 ( #91522 )
2023-04-16 17:50:06 -10:00
Christopher Bailey
fdc80e14e6
Remove deprecated set_doorbell_message UniFi Protect service ( #91523 )
...
* Removes deprecated service
* Linting
* Linting
* More cleanup
* Linting
2023-04-16 17:30:41 -10:00
J. Nick Koston
d0d4ab6056
Require a list of entity ids when fetching history ( #90992 )
2023-04-08 16:14:44 -10:00
epenet
69a46d4002
Adjust pylint plugin for components fixtures ( #90217 )
...
* Adjust pylint plugin for components fixtures
* Adjust components
* Use MagicMock
* Adjust
* Use None
2023-03-26 15:21:19 +02:00
J. Nick Koston
99b58f157e
Bump PyJWT to 2.6.0 ( #90134 )
...
* Bump PyJWT to 2.6.0
* fix time being frozen too late which makes the access token creation time in the future
* revert zha change
* fix repairs test
* fix ical test
2023-03-22 20:00:47 -04:00
epenet
71dc98a39c
Improve hass_ws_client type hint in tests ( #89703 )
2023-03-14 16:31:40 +01:00
J. Nick Koston
1c57339ec3
Refactor recorder tests to use recorder history API ( #89565 )
2023-03-11 21:51:16 -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
J. Nick Koston
35adb2f7e8
Remove previously deprecated Detected Object from unifiprotect ( #85656 )
2023-02-20 22:14:01 +01:00
J. Nick Koston
9876dd804e
Exclude event_id and event_score from being recorded in unifiprotect ( #88387 )
2023-02-20 14:09:56 +01:00
epenet
9a5f88f55f
Add type hints to integration tests (part 23) ( #88235 )
2023-02-17 16:40:46 +01: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
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Marc Mueller
d7dda6bee5
Update python version used for pylint [Py310] ( #86414 )
...
* Update python version used for pylint linting [Py310]
* Import Callable from collections.abc [Py310]
* Use builtin anext [Py310]
2023-01-23 07:56:15 +01:00
epenet
30bf0634fe
Add per-file-ignore to pylint ( #86289 )
2023-01-22 17:26:24 +01:00
Christopher Bailey
02897fb9a3
Add UniFi Protect Chime Duration entity ( #85538 )
2023-01-09 12:09:41 -10:00
Christopher Bailey
818253ced4
Bump pyunifiprotect to 4.6.1 ( #85547 )
2023-01-09 12:00:21 -10:00
Christopher Bailey
3aa759fc49
Deprecate the UniFi Protect Detected Object sensor ( #83480 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-26 09:32:05 -10:00
Christopher Bailey
ec47f7b6ff
Add text platform for UniFi Protect ( #83674 )
2022-12-11 21:30:24 -10:00
Franck Nijhof
12a81cc9f4
Remove doubtful repairs issue from UniFi Protect ( #83463 )
2022-12-07 10:46:28 -05:00
Christopher Bailey
ee7022dc67
Update UniFi Protect ring entity to use event entity ( #83270 )
2022-12-04 17:06:55 -10:00
Christopher Bailey
6fb9bdec93
Assorted fixes for UniFi Protect ( #83032 )
2022-12-01 16:37:44 -05:00
Christopher Bailey
6c5aa3b8f9
Make UniFI Protect views more versatile ( #82928 )
2022-11-29 18:49:16 -10:00
Christopher Bailey
596016c2ac
Add new features from new UniFi Protect ( #82892 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-28 23:44:31 -10:00
Christopher Bailey
b842e26d36
Split UniFi Protect object sensor into multiple ( #82595 )
2022-11-28 09:07:53 -10:00
Christopher Bailey
ae436d46fc
Add options to UniFi Protect diagnostics ( #82062 )
2022-11-13 17:57:09 -06: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
Shay Levy
b27f0c70be
Fix unifiprotect test failing CI ( #79406 )
2022-10-01 16:22:23 +02:00
epenet
0d696b84b2
Cleanup root component imports in tests ( #78893 )
2022-09-21 06:57:41 -10:00
epenet
0ac581a0b1
Cleanup EntityFeature in tests ( #78859 )
2022-09-21 10:48:55 +02:00
epenet
41d2ac3943
Cleanup MediaClass and MediaType in tests ( #78817 )
...
Cleanup MediaClass/MediaType in tests
2022-09-20 17:55:13 +02:00
epenet
7bc2712142
Adjust root-import in tests ( #78761 )
...
* Adjust root-import in tests
* Adjust diagnostics
* Adjust button
* Adjust select
* Adjust device_tracker
* Adjust camera
* Adjust humidifier
* Adjust media_source
* Adjust update
* Adjust siren
* Adjust number
* Adjust alarm_control_panel
* Adjust notify
* Adjust sensor
* Adjust switch
* Revert anthemav
* Don't adjust demo humidifier
2022-09-19 15:22:23 +02:00
Franck Nijhof
dbb556a812
Revert "Add ability to ignore devices for UniFi Protect" ( #77916 )
2022-09-06 20:13:01 +02:00
Christopher Bailey
08ab10d470
Fix timezone edge cases for Unifi Protect media source ( #77636 )
...
* Fixes timezone edge cases for Unifi Protect media source
* linting
2022-09-01 08:49:36 +00:00
puddly
5b3f4ec471
Fix failing unifiprotect unit tests ( #77575 )
...
* Patch `final` pydantic fields during unit test
* Use a fixed date with 31 days to ensure unit tests pass every month
2022-08-30 22:17:03 -04: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
d29be2390b
Add new features from UniFi Protect 2.2.1-beta5 ( #77391 )
2022-08-28 12:31:07 -05:00
Christopher Bailey
6558643448
Handle remove packets for UniFi Protect ( #77337 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-25 22:05:18 -05:00
Christopher Bailey
5c0fc0c002
Add adopt/unadopt flows for UniFi Protect devices ( #76524 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-08-25 18:54:52 -05:00
Christopher Bailey
7fc2d9e087
Persist previous mic/record values for UniFi Protect privacy mode ( #76472 )
2022-08-14 10:57:25 -10:00
Christopher Bailey
d139d1e175
Add UniFi Protect media source ( #73244 )
2022-08-08 10:00:50 -10:00
Christopher Bailey
59c99e0d60
Improve UniFi Protect unauth handling ( #75269 )
2022-07-16 17:28:17 -05:00
Franck Nijhof
af2feb3d40
Update pyupgrade to v2.37.1 ( #74989 )
2022-07-11 16:54:01 +02:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Christopher Bailey
1555f40bad
Add UniFi Protect views ( #74190 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 18:10:38 -05:00
Christopher Bailey
54320ff134
UniFi Protect bugfixes ( #74156 )
2022-06-28 22:00:26 -05:00
Christopher Bailey
b9c636ba4e
Automatically add newly added devices for UniFi Protect ( #73879 )
2022-06-27 16:03:25 -05: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
Christopher Bailey
01a9367281
UniFi Protect cleanup and enable unadopted devices ( #73860 )
2022-06-22 15:57:21 -05:00
Christopher Bailey
9940a85e28
Add sensors for read-only devices for UniFi Protect ( #73768 )
2022-06-21 12:01:06 -05:00
Christopher Bailey
3823edda32
Add Permission checking for UniFi Protect ( #73765 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-21 11:17:29 -05:00
Christopher Bailey
3851c7b4b4
Bumps version of pyunifiprotect to 4.0.4 ( #73722 )
2022-06-20 22:09:13 -05:00
Christopher Bailey
b956d125f9
Fix UniFi Protect write rate sensor ( #73759 )
2022-06-20 19:10:59 -05:00
Christopher Bailey
b19b6ec6ea
Update UniFi Protect to use MAC address for unique ID ( #73508 )
2022-06-19 09:22:33 -05:00
Christopher Bailey
691d49f23b
Refactor migration code for UniFi Protect ( #73499 )
2022-06-18 12:56:28 -05: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
004ff8fb30
Overhaul UniFi Protect NVR Disk sensors ( #73197 )
...
* Overhauls NVR Disk sensors
* Updates from latest version of pyunifiprotect
2022-06-08 14:13:56 -10:00
Christopher Bailey
4c45cb5c52
Add UniFi Protect chime button/camera switch ( #73195 )
2022-06-08 12:29:46 -10:00
Christopher Bailey
1bc9867940
Bump version of pyunifiprotect to 3.9.0 ( #73168 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-07 08:19:39 -10:00
J. Nick Koston
f1a31d8d33
Add support for async_remove_config_entry_device to unifiprotect ( #72742 )
...
* Add support for async_remove_config_entry_device to unifiprotect
* tweaks
* tweaks
* more cleanups
* more cleanups
* fix unhelpful auto import
* add coverage
* fix mac formatting
* collapse logic
2022-06-02 08:26:08 -07:00
Christopher Bailey
654c59c194
Add diagnostics for UniFi Protect ( #72280 )
2022-05-21 18:35:27 -05:00
Christopher Bailey
267266c7c3
Adds UP Chime support for UniFi Protect ( #71874 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-20 15:16:01 -05:00
Christopher Bailey
5c2c602686
Bumps pyunifiprotect to 3.6.0 ( #72188 )
2022-05-19 20:34:58 -05:00
epenet
4eb46d45ca
Cleanup deprecated async_get_registry in tests ( #72059 )
2022-05-18 13:12:38 +02:00
Christopher Bailey
3de31939d8
Refactor button code to allow for other button types for UniFi Protect ( #71911 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-16 22:51:13 -05:00
Christopher Bailey
fdc8830dd3
Remove ssh switch from unsupported devices for UniFi Protect ( #71859 )
2022-05-14 11:07:17 -05:00
Christopher Bailey
3e386064cf
Fix handling package detection for latest UniFi Protect beta ( #71821 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 18:42:33 -04:00
J. Nick Koston
03c91dad78
Fix missing title placeholders during unifiprotect reauth ( #70067 )
2022-04-15 07:31:50 -10:00
Christopher Bailey
ad29d89484
Fix unifiprotect for 2.0.0-beta2 of UniFi Protect ( #69762 )
2022-04-09 11:34:48 -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
epenet
9aac5d6af1
Prettify json ( #68895 )
2022-03-30 12:15:04 +02:00
epenet
053c4428a9
Prettify json (component test fixtures) ( #68892 )
2022-03-30 11:37:17 +02:00
J. Nick Koston
349060be2f
Disable Unifi Protect Oldest Recording sensor by default ( #68804 )
2022-03-28 14:24:54 -10:00
J. Nick Koston
63ca0e70be
Migrate Unifi Protect last tripped time attributes to their own entities ( #68347 )
2022-03-24 17:23:53 -07:00
Paulus Schoutsen
a9fd744247
Add media source support to unifiprotect ( #67570 )
2022-03-14 10:16:22 -10: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
Christopher Bailey
e203efa8b1
Fix custom message for UniFi Protect doorbell select ( #64971 )
2022-01-26 05:14:40 -10:00
Christopher Bailey
7bc2419054
Add lock support for unifiprotect Doorlock ( #64882 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-01-25 07:31:17 -10:00
Christopher Bailey
6cb9f0df2a
Add basic Doorlock support for UniFi protect ( #64877 )
2022-01-24 14:22:52 -10:00
Christopher Bailey
8fb4e0934e
Fix UniFi Protect test warning ( #64650 )
2022-01-21 09:00:35 -10:00