1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-02 21:19:16 +00:00

16 Commits

Author SHA1 Message Date
starkillerOG
f5e1fa6a21
Allow playback of h265 encoded Reolink video () 2025-02-18 11:17:13 +01:00
starkillerOG
4a9d545ffe
Bump reolink-aio to 0.11.6 () 2024-12-31 10:31:40 +01:00
starkillerOG
8ef7cae36d
Speedup Reolink tests by using scope="module" ()
* use scope="module"

* Instead of side_effect = None, use reset_mock(side_efffect=True)

* fix tests
2024-09-23 12:50:40 +02:00
epenet
1a478bd78a
Use root import for media_player and media_source in tests () 2024-09-12 14:55:29 +02:00
starkillerOG
4b111008df
Add 100% coverage of Reolink button platform ()
* Add 100% button coverage

* review comments

* fix

* Use SERVICE_PRESS constant

* Use DOMAIN instead of const.DOMAIN

* styling

* User entity_registry_enabled_by_default fixture

* fixes

* Split out ptz_move test

* use SERVICE_PTZ_MOVE constant
2024-09-04 12:16:57 +02:00
starkillerOG
d1681fac72
Improve mediabrowser names for DUO lens Reolink cameras ()
* Improve playback of DUO lens cameras like TrackMix

* fix styling

* Adjust tests accordingly
2024-08-28 12:54:30 +02:00
starkillerOG
ab064a7f36
Reolink add 100% coverage of number platform ()
* Add 100% number test coverage

* review comments

* fix styling

* re-add AsyncMock for chime
2024-08-23 12:34:58 +02:00
starkillerOG
0093276e93
Reolink add 100% coverage of binary_sensor platfrom ()
* Implement 100% coverage of binary_sensor

* fix styling

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* use get().state instead of is_state

* Remove unneeded "is True"

* Remove unneeded "is True"

* reset the mock and use assert_not_called

* use freezer

* fix styling

* fix styling

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-08-16 12:46:51 +02:00
starkillerOG
97aaae1372
Reolink media second lens ()
DUO lens camera distinguish between lenses for media playback
2024-07-12 09:13:55 +02:00
starkillerOG
225e90c99e
Add playback of autotrack lens to Reolink ()
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-21 13:38:51 +02:00
starkillerOG
2639336ab0
Prefer mp4 playback in Reolink ()
* If possible use PLAYBACK of mp4 files

* bring test_coverage back to 100%

* Do not reasign the vod_type multiple times

Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>

* fix indent

* add white space

* fix tests

* Update homeassistant/components/reolink/media_source.py

Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>

---------

Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2024-06-14 21:38:53 +02:00
Martin Hjelmare
b1af590eed
Fix reolink media source data access ()
* Add test

* Fix reolink media source data access
2024-04-02 00:14:13 +02:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
Paulus Schoutsen
0628c26ea0
Update reporting for media_source.async_resolve_media ()
* Update reporting for media_source.async_resolve_media

* Don't raise on core

* Fix tests
2024-03-01 16:18:58 -05:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z () 2023-12-13 17:05:37 +01:00
starkillerOG
aea15ee20c
Reolink add media browser for playback of recordings () 2023-11-21 23:43:56 +01:00