Commit graph

16 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
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
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
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Christopher Bailey
ec47f7b6ff
Add text platform for UniFi Protect (#83674) 2022-12-11 21:30:24 -10:00