Commit Graph

101 Commits (691a234090024de17d3f5f7348779257d55f1044)

Author SHA1 Message Date
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