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