Commit graph

481 commits

Author SHA1 Message Date
J. Nick Koston
d2faaa1531
Remove useless function get_ufp_event from unifiprotect (#119906) 2024-06-18 12:29:26 -05:00
J. Nick Koston
407df2aedf
Small cleanup to unifiprotect entity descriptions (#119904) 2024-06-18 12:08:22 -05:00
Paulus Schoutsen
eb89ce47ea
Inline primary integration (#119860) 2024-06-18 08:08:08 +02:00
J. Nick Koston
a876a55d2f
Bump uiprotect to 0.19.0 (#119863) 2024-06-17 17:08:43 -05:00
J. Nick Koston
2560d7aeda
Bump uiprotect to 1.18.1 (#119848)
changelog: https://github.com/uilibs/uiprotect/compare/v1.17.0...v1.18.1
2024-06-17 19:17:36 +02:00
J. Nick Koston
b1c5845d35
Bump uiprotect to 1.17.0 (#119802)
* Bump uiprotect to 1.16.0

changelog: https://github.com/uilibs/uiprotect/compare/v1.12.1...v1.16.0

* one more bump
2024-06-17 09:51:28 +02:00
J. Nick Koston
fc3fbc6862
Bump uiprotect to 1.12.1 (#119799) 2024-06-16 18:06:45 -05:00
J. Nick Koston
4879c8b72e
Increase unifiprotect polling interval to 60s (#119800) 2024-06-16 17:31:28 -05:00
J. Nick Koston
8c613bc869
Cleanup unifiprotect ProtectData object (#119787) 2024-06-16 17:08:09 -05:00
J. Nick Koston
85ca6f15be
Add some suggested units to unifiprotect sensors (#119790) 2024-06-16 15:04:28 -05:00
J. Nick Koston
affbc30d0d
Move unifiprotect services register to async_setup (#119786) 2024-06-16 14:50:03 -05:00
J. Nick Koston
151b3b3b0a
Reduce duplicate code in unifiprotect entities (#119779) 2024-06-16 14:14:59 -05:00
J. Nick Koston
2713a3fdb1
Bump uiprotect to 1.12.0 (#119763) 2024-06-16 14:14:41 -05:00
J. Nick Koston
03027893ff
Fix precision for unifiprotect sensors (#119781) 2024-06-16 13:54:58 -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
Franck Nijhof
af0f540dd4
Ensure UniFi Protect EA warning is not persistent (#119730) 2024-06-15 08:05:18 -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
f8bf357811
Remove set default doorbell text service from unifiprotect (#119695)
UI has removed this functionality in UI Protect 4.x

discovered via https://github.com/uilibs/uiprotect/issues/57
2024-06-14 21:25:14 +02:00
J. Nick Koston
6bdfed6910
Bump uiprotect to 1.7.2 (#119705)
changelog: https://github.com/uilibs/uiprotect/compare/v1.7.1...v1.7.2
2024-06-14 20:43:40 +02:00
J. Nick Koston
d2bcd5d1fb
Refactor unifiprotect switch to match other platforms (#119698)
- Use _attr_is_on for nvr entities
- implement _async_get_state_attrs for nvr entities
- define MODEL_DESCRIPTIONS_WITH_CLASS
2024-06-14 13:22:12 -05:00
J. Nick Koston
6e322c310b
Split binary sensor classes in unifiprotect (#119696)
* Split binary sensor classes in unifiprotect

There were two types of binary sensors, ones that can change device_class at
run-time (re-mountable ones), and ones that cannot. Instead of having
branching in the class, split the class

* tweak order to match name
2024-06-14 13:16:49 -05:00
J. Nick Koston
10a2fd7cb6
Bump uiprotect to 1.7.1 (#119694)
changelog: https://github.com/uilibs/uiprotect/compare/v1.6.0...v1.7.0
2024-06-14 10:56:26 -05:00
J. Nick Koston
95b9e15306
Bump uiprotect to 1.6.0 (#119661) 2024-06-13 23:34:55 -05:00
J. Nick Koston
b11d832fb1
Bump uiprotect to 1.4.1 (#119653) 2024-06-13 21:01:25 -05:00
J. Nick Koston
09aa9cf842
Soften unifiprotect EA channel message (#119641) 2024-06-13 16:31:39 -05:00
J. Nick Koston
0c3a5ae5da
Dispatch unifiprotect websocket messages based on model (#119633) 2024-06-13 16:17:31 -05:00
J. Nick Koston
de27f24a4c
Use the existing api client for unifiprotect repairs if available (#119640)
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-06-13 16:17:11 -05:00
J. Nick Koston
fc6dd7ce7d
Bump uiprotect to 1.2.1 (#119620)
* Bump uiprotect to 1.2.0

changelog: https://github.com/uilibs/uiprotect/compare/v1.1.0...v1.2.0

* bump
2024-06-13 19:28:42 +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
ae3134d875
Simplify unifiprotect device removal code (#119517) 2024-06-12 12:03:12 -05:00
J. Nick Koston
8f7686082c
Refactor unifiprotect media_source to remove type ignores (#119516) 2024-06-12 12:02:53 -05:00
J. Nick Koston
4fb8202de1
Refactor adding entities to unifiprotect (#119512) 2024-06-12 18:11:59 +02:00
J. Nick Koston
db3029dc5f
Remove unreachable sensor code in unifiprotect (#119501) 2024-06-12 18:07:20 +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
0c79eeabdf
Bump uiprotect to 1.1.0 (#119449) 2024-06-12 10:10:40 +02:00
Sebastian Goscik
35417649cd
Bump uiprotect to v1.0.1 (#119436) 2024-06-11 18:20:00 -05:00
J. Nick Koston
400b8a8361
Bump uiprotect to 1.0.0 (#119415) 2024-06-11 20:59:28 +02:00
J. Nick Koston
4f28f3a5fc
Fix incorrect key name in unifiprotect options strings (#119417) 2024-06-11 20:58:05 +02:00
J. Nick Koston
f02383e10d
Bump uiprotect to 0.13.0 (#119344) 2024-06-10 22:50:44 -05:00
J. Nick Koston
0149698002
Bump uiprotect to 0.10.1 (#119327)
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-06-10 20:03:23 -05:00
J. Nick Koston
d74d418c06
Bump uiprotect to 0.4.1 (#119308) 2024-06-10 18:58:26 +02:00
William Taylor
30fab7b807
Add support for animal detection in unifiprotect (#116290)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-10 10:16:36 -05:00
J. Nick Koston
d4baad62ef
Bump uiprotect to 0.4.0 (#119256) 2024-06-10 08:36:36 +02:00
J. Nick Koston
d657feafa6
Switch unifiprotect lib to use uiprotect (#119243) 2024-06-09 18:25:39 -05:00
Marc Mueller
fe21e2b8ba
Import Generator from typing_extensions (1) (#118986) 2024-06-06 17:02:13 +02:00
J. Nick Koston
c8e7298556
Remove myself as codeowner for unifiprotect (#118824) 2024-06-04 13:21:56 -05:00
epenet
e7ce01e649
Enforce namespace import in components (#118218) 2024-05-27 12:50:11 +02:00
J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones (#117721) 2024-05-20 11:06:03 +02:00