Commit graph

16 commits

Author SHA1 Message Date
starkillerOG
834f3810d3
Check new IP of Reolink camera from DHCP ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-02 21:00:33 +02:00
starkillerOG
92cf6ed2a0
Reolink 100% test coverage () 2023-08-15 09:50:17 -05:00
starkillerOG
8a58675be2
Reolink improve webhook URL error message ()
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-24 22:01:45 +02:00
starkillerOG
b47ac524ea
Use async_timeout instead of asyncio.wait_for ()
* 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
2d3c5cf8ee
Reolink test init 100% ()
* 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
starkillerOG
f97b50f762
Add Reolink update entity () 2023-02-22 16:26:12 +01:00
starkillerOG
bcf8cf4d8b
Add reolink https webhook warning ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
fixes undefined
2023-02-09 09:24:18 +01:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) () 2023-02-08 08:12:54 -08:00
starkillerOG
32c1a01159
Add Reolink dhcp discovery ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-22 21:09:18 +01:00
starkillerOG
7e51aeb916
Reolink add binary sensors ()
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-20 22:27:59 +01:00
starkillerOG
476de319ea
Bump reolink-aio to 0.2.3 () 2023-01-15 13:07:15 +01:00
starkillerOG
5f67e79ad9
Bump reolink-aio to 0.2.2 () 2023-01-14 02:25:22 +01:00
starkillerOG
b2b6ae417d
Reolink check for admin ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
fixes undefined
2023-01-13 20:07:09 +01:00
starkillerOG
c4a5d12df4
Switch to reolink-aio ()
* switch to reolink-aio

* fix imports
2023-01-02 20:49:55 -05:00
starkillerOG
c0d5ceb18c
Process late feedback for Reolink ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-01 23:32:17 +01:00
starkillerOG
a06b1eaf69
Add reolink IP NVR/Camera integration ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-12-27 10:15:53 -10:00