Commit Graph

86 Commits (398d18eeee9f8de6ffbf52975b412b78da554650)

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