Commit graph

25 commits

Author SHA1 Message Date
J. Nick Koston
d3f424227f
Cleanup unifiprotect entity classes (#121184) 2024-07-05 09:31:31 +02: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
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
Joost Lekkerkerker
96cebdf096
Improve lists in integrations [T-U] (#113243) 2024-03-13 17:54:46 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Christopher Bailey
a0b185d06d
Fixes UniFi Protect light state check (#111058) 2024-02-21 19:45:32 +01:00
J. Nick Koston
b1cbf9840a
Make adding new device in unifiprotect callback functions (#111054) 2024-02-20 23:47:31 -06:00
Christopher Bailey
ec8a33b52d
Rework state change detection for UniFi Protect entities (#107766) 2024-01-10 18:06:45 -10:00
J. Nick Koston
bc539a946f
Use identity checks for unifiprotect enums (#106795)
enums are singletons in this case and there is no need to use
the slower equality checks here
2024-01-05 13:27:10 +01:00
J. Nick Koston
f2556df7db
Reduce unifiprotect update overhead (#96626) 2023-07-16 06:24:27 -10:00
epenet
4a3c0cd0a8
Adjust docstrings for ruff D404 (#89077) 2023-03-03 11:26:13 +01:00
Christopher Bailey
1fb8fbf5de
Refactor and unify device fetching for UniFi Protect (#77341) 2022-08-26 06:46:11 -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
J. Nick Koston
9d13252142
Cleanup device callbacks in unifiprotect (#73463) 2022-06-20 22:52:41 -05:00
epenet
20336ec49c
Use ColorMode enum in unifiprotect (#70547) 2022-04-23 10:01:55 -10:00
epenet
34a9a1d152
Migrate unifiprotect light to color_mode (#69527) 2022-04-07 09:12:28 +02:00
Christopher Bailey
d8ba90fb8a
Refactor EntityDescriptions for UniFi Protect (#63716) 2022-01-09 18:37:24 -10:00
Christopher Bailey
4099d84fa4
Refactor static attributes to class attrs for UniFi Protect (#63236) 2022-01-02 22:16:14 +01:00
Christopher Bailey
0de3a299d6
Add UniFi Protect light platform (#63137) 2021-12-31 11:21:29 -10:00