Commit graph

33 commits

Author SHA1 Message Date
epenet
de88068c66
Merge unifiprotect entity and models modules (#126532) 2024-09-23 14:30:26 +02:00
J. Nick Koston
d3f424227f
Cleanup unifiprotect entity classes (#121184) 2024-07-05 09:31:31 +02:00
J. Nick Koston
8c613bc869
Cleanup unifiprotect ProtectData object (#119787) 2024-06-16 17:08:09 -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
c519e12042
Cleanup unifiprotect entity model (#119746)
* Small cleanups to unifiprotect

* Small cleanups to unifiprotect

* Small cleanups to unifiprotect

* Small cleanups to unifiprotect

* tweak

* comments

* comments

* stale docstrings

* missed one

* remove dead code

* remove dead code

* remove dead code

* remove dead code

* cleanup
2024-06-15 22:02:03 -04:00
J. Nick Koston
c0ff2d866f
Reduce code needed to check unifiprotect attrs (#119706)
* Reduce code needed to check unifiprotect attrs

* Apply suggestions from code review

* Update homeassistant/components/unifiprotect/manifest.json

* Apply suggestions from code review

* revert

* adjust

* tweak

* make mypy happy
2024-06-14 21:29:18 +02:00
J. Nick Koston
6d31991021
Reduce duplicate code in unifiprotect (#119624) 2024-06-13 11:44:29 -05:00
J. Nick Koston
a586e7fb72
Remove useless delegation in unifiprotect (#119514) 2024-06-12 22:23:18 +02:00
J. Nick Koston
4fb8202de1
Refactor adding entities to unifiprotect (#119512) 2024-06-12 18:11:59 +02:00
J. Nick Koston
3f188b7e27
Migrate unifiprotect to use entry.runtime_data (#119507) 2024-06-12 17:49:18 +02:00
J. Nick Koston
d657feafa6
Switch unifiprotect lib to use uiprotect (#119243) 2024-06-09 18:25:39 -05:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
J. Nick Koston
b1cbf9840a
Make adding new device in unifiprotect callback functions (#111054) 2024-02-20 23:47:31 -06:00
J. Nick Koston
bef596d0dd
Migrate unifiprotect descriptions to be kw_only (#107832) 2024-01-12 09:33:33 +01:00
Christopher Bailey
ec8a33b52d
Rework state change detection for UniFi Protect entities (#107766) 2024-01-10 18:06:45 -10:00
Christopher Bailey
ce54a1259a
Bump pyunifiprotect to v4.22.5 (#106781) 2023-12-31 09:26:21 -10:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
J. Nick Koston
8a98a0e830
Avoid writing unifiprotect state when nothing has changed (#100439) 2023-09-16 09:57:43 -05:00
J. Nick Koston
f2556df7db
Reduce unifiprotect update overhead (#96626) 2023-07-16 06:24:27 -10:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Christopher Bailey
1fb8fbf5de
Refactor and unify device fetching for UniFi Protect (#77341) 2022-08-26 06:46:11 -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
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
01a9367281
UniFi Protect cleanup and enable unadopted devices (#73860) 2022-06-22 15:57:21 -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
4c45cb5c52
Add UniFi Protect chime button/camera switch (#73195) 2022-06-08 12:29:46 -10: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
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
4099d84fa4
Refactor static attributes to class attrs for UniFi Protect (#63236) 2022-01-02 22:16:14 +01:00
Christopher Bailey
699512c36f
Add UniFi Protect button (#63001) 2021-12-29 09:38:44 -10:00