starkillerOG
a6189106e1
Reolink add TCP push event connection as primary method ( #129490 )
2024-10-30 14:34:32 +01:00
starkillerOG
85ae66d276
Reolink auto add new cameras/chimes ( #126268 )
2024-10-03 16:51:27 +02:00
starkillerOG
0f4c50e83c
Mark Reolink camera entities as unavailable when camera is offline ( #127127 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-09-30 19:00:37 +02:00
starkillerOG
1395baef01
Remove Reolink Home Hub main level switches ( #126697 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-09-25 21:52:26 +02:00
starkillerOG
8ef7cae36d
Speedup Reolink tests by using scope="module" ( #125215 )
...
* use scope="module"
* Instead of side_effect = None, use reset_mock(side_efffect=True)
* fix tests
2024-09-23 12:50:40 +02:00
starkillerOG
4b111008df
Add 100% coverage of Reolink button platform ( #124380 )
...
* 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
c4cfff4b3f
Add 100% coverage of Reolink update platform ( #124521 )
...
* Add 100% update test coverage
* Add assertion
2024-09-03 22:50:00 +02:00
starkillerOG
a5bacf5652
Add 100% coverage of Reolink switch platform ( #124482 )
...
* Add 100% switch test coverage
* use DOMAIN instead of const.DOMAIN
* Split tests and use parametrize
* Revert "Split tests and use parametrize"
This reverts commit 50d2184ce6
.
* fixes
2024-08-30 14:39:12 +02:00
starkillerOG
6589216ed3
Add 100% coverage of Reolink camera platform ( #124381 )
...
* Add 100% camera test coverage
* review comments
* use DOMAIN instead of const.DOMAIN
* use entity_registry_enabled_by_default fixture
* fixes
2024-08-30 14:34:49 +02:00
starkillerOG
0093276e93
Reolink add 100% coverage of binary_sensor platfrom ( #123862 )
...
* 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
2343f5e40f
Reolink Chime online status and ability to remove ( #123301 )
...
* Add chime available
* allow removing a Reolink chime
* Allow removal if doorbell itself removed
* fix tests
* Add tests
* fix styling
2024-08-08 19:28:46 +02:00
starkillerOG
32cd54b1e3
Fix flaky Reolink tests ( #122451 )
2024-07-23 08:35:02 -05:00
Marc Mueller
f11b316dac
Import Generator from collections.abc (4) ( #120917 )
2024-07-01 11:54:42 +02:00
starkillerOG
1b88448914
Do not wait for Reolink firmware check ( #120377 )
2024-06-26 09:34:45 +02:00
starkillerOG
8b4a5042bb
Use UID instead of MAC or channel for unique_ID in Reolink ( #119744 )
2024-06-21 20:27:30 +02:00
starkillerOG
3a672642ea
Reolink extend diagnostic data ( #119745 )
...
* Add diagnostic info
* fix
* change order
* update tests
2024-06-16 14:02:10 +02:00
starkillerOG
b8851f2f3c
Cleanup Reolink firmware update entity ( #119239 )
2024-06-13 21:27:30 +02:00
Marc Mueller
837ee7c4fb
Import Generator from typing_extensions (4) ( #118992 )
2024-06-06 17:41:37 +02:00
starkillerOG
8723441227
Add Reolink serial number to device info of IPC camera ( #118834 )
...
* Add UID to dev info
* Add camera_uid to test
2024-06-04 21:37:40 -04:00
epenet
c6e0e93680
Cleanup mock_get_source_ip from tests ( #118459 )
2024-05-30 09:37:01 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
J. Nick Koston
4627e8b1fc
Fix formatting of mac addresses from dhcp discovery mocking in reolink ( #110594 )
...
dhcp returns addresses in lowercase without :
2024-02-14 21:39:30 +01:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z ( #105657 )
2023-12-13 17:05:37 +01:00
starkillerOG
9fa163c107
Reolink cleanup when CAM disconnected from NVR ( #103888 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-30 01:50:37 +01:00
starkillerOG
6b138a276a
Add diagnostics platform to Reolink ( #104378 )
2023-11-23 12:55:21 +01:00
starkillerOG
a3c0f36592
Add Reolink serial number ( #104383 )
...
* Add Reolink serial number
* fix tests
2023-11-22 22:54:48 +01:00
starkillerOG
aea15ee20c
Reolink add media browser for playback of recordings ( #103407 )
2023-11-21 23:43:56 +01:00
starkillerOG
9f6eef7cca
Fix Reolink DHCP IP update ( #103654 )
2023-11-10 09:27:33 +01:00
starkillerOG
92cf6ed2a0
Reolink 100% test coverage ( #94763 )
2023-08-15 09:50:17 -05:00
starkillerOG
ee7f44b3da
Bump reolink-aio to 0.7.1 ( #94761 )
2023-06-18 13:13:21 +02:00
starkillerOG
b47ac524ea
Use async_timeout instead of asyncio.wait_for ( #90496 )
...
* Use async_timeout instead of asyncio.wait_for
* fix imports
* fix imports
* break out Event.wait patch
* Update tests/components/reolink/conftest.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Simplify
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-04-01 17:47:31 +02:00
starkillerOG
e9925f6062
Check webhook url is reachable in Reolink ( #89585 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-28 22:46:59 +02:00
starkillerOG
2d3c5cf8ee
Reolink test init 100% ( #89112 )
...
* Split out reolink tests
* Bring __init__ coverage to 100%
* Improve docstrings
* Use patching and autospec=True for ReolinkHost
* Use fixture
* fix styling
* Parametrize tests
* Update tests/components/reolink/conftest.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Apply suggestions from code review
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Update test_config_flow.py
* convert to fixture
* review comments
* Update tests/components/reolink/conftest.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update tests/components/reolink/conftest.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Update tests/components/reolink/conftest.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* fix tests
* fix imports
* Update test_init.py
* Check if host is logout on reload
---------
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-07 20:29:38 +01:00