Commit graph

19 commits

Author SHA1 Message Date
epenet
4afc472068
Use root import for media_player and media_source (#125828)
* Use root import for media_player and media_source

* One more
2024-09-12 15:38:53 +02:00
J. Nick Koston
d2faaa1531
Remove useless function get_ufp_event from unifiprotect (#119906) 2024-06-18 12:29:26 -05:00
J. Nick Koston
6d31991021
Reduce duplicate code in unifiprotect (#119624) 2024-06-13 11:44:29 -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
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
J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones (#117721) 2024-05-20 11:06:03 +02:00
Sid
0d66d298ec
Enable Ruff RET504 (#114528)
* Enable Ruff RET504

* fix test

* Use noqa instead of cast

* fix sonos RET504

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Christopher Bailey
ae60f59bed
Add metadata for UniFi Protect Media Source (#109389) 2024-02-22 14:44:16 -10:00
Christopher Bailey
818253ced4
Bump pyunifiprotect to 4.6.1 (#85547) 2023-01-09 12:00:21 -10:00
Franck Nijhof
c1a6f83f12
Fix incorrectly return type on bad_identifier in UniFi Protect (#85050) 2023-01-03 20:10:27 +01:00
Christopher Bailey
596016c2ac
Add new features from new UniFi Protect (#82892)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-28 23:44:31 -10:00
epenet
5c8e8e4860
Use new media player enums (#78264) 2022-09-12 20:06:27 +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
Christopher Bailey
1fb8fbf5de
Refactor and unify device fetching for UniFi Protect (#77341) 2022-08-26 06:46:11 -05:00
Franck Nijhof
63d71457aa
Type BrowseMedia children as a covariant (#76869) 2022-08-16 16:31:09 +02:00
Franck Nijhof
735dec8dde
Process UniFi Protect review comments (#76870) 2022-08-16 15:53:16 +02:00
Franck Nijhof
00c0ea8869
Remove stale debug prints (#76865) 2022-08-16 09:33:33 -04:00
Christopher Bailey
d139d1e175
Add UniFi Protect media source (#73244) 2022-08-08 10:00:50 -10:00