Commit graph

25 commits

Author SHA1 Message Date
starkillerOG
1b88448914
Do not wait for Reolink firmware check () 2024-06-26 09:34:45 +02:00
J. Nick Koston
ee535ee611
Ensure test async_create_task eager start behavior matches production () 2024-04-13 15:58:52 -05:00
epenet
9204ccfa17
Use is in ConfigEntryState enum comparison in tests (N-Z) () 2024-04-05 17:37:00 +02:00
Joost Lekkerkerker
ee66f6ec8c
Use is in enum comparison in config flow tests P-T () 2024-04-02 11:21:50 -10:00
Joost Lekkerkerker
77917506bb
Improve lists in integrations [R-S] ()
* Improve lists in integrations [R-S]

* Fix

* Fix
2024-03-13 21:55:00 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] () 2024-03-08 14:47:22 +01:00
J. Nick Koston
4627e8b1fc
Fix formatting of mac addresses from dhcp discovery mocking in reolink ()
dhcp returns addresses in lowercase without :
2024-02-14 21:39:30 +01:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z () 2023-12-13 17:05:37 +01:00
starkillerOG
9f6eef7cca
Fix Reolink DHCP IP update () 2023-11-10 09:27:33 +01:00
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