Commit Graph

116 Commits (a22aa285d338425406f1526779d7135a8b0c701c)

Author SHA1 Message Date
starkillerOG 121fc7778d
Bump reolink_aio to 0.7.6 + Timeout (#97464) 2023-07-31 21:01:25 +02:00
starkillerOG b266514068
Delay creation of Reolink repair issues (#97476)
* delay creation of repair issues

* fix tests
2023-07-31 09:07:13 +02:00
starkillerOG f4e79bbab8
Regard long poll without events as valid (#97383) 2023-07-30 18:49:27 +02:00
starkillerOG c32b15c754
Reolink long poll recover (#97465) 2023-07-30 18:49:00 +02:00
starkillerOG 053f4b08b6
Bump reolink_aio to 0.7.5 (#97357)
* bump reolink-aio to 0.7.4

* Bump reolink_aio to 0.7.5
2023-07-27 23:33:08 +02:00
starkillerOG 8a58675be2
Reolink improve webhook URL error message (#96088)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-24 22:01:45 +02:00
Franck Nijhof e449f8e0e5
Remove Reolink event connection sensor (#96903) 2023-07-19 14:40:00 +02:00
starkillerOG bc9b9048f0
Add Reolink sensor platform (#96323)
* Add Reolink sensor platform

* fix styling

* Add state class

* Add Event connection sensor

* Update homeassistant/components/reolink/sensor.py

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

* Use translation keys

* fix json

* fix json 2

* fix json 3

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-11 21:36:44 +02:00
starkillerOG a0e20c6c6b
Bump reolink_aio to 0.7.3 (#96284) 2023-07-11 19:42:59 +02:00
starkillerOG d9f27400b7
Reolink add reboot button (#96311) 2023-07-11 14:10:32 +02:00
Jan Bouwhuis c26dc0940c
Use common translations for `On`, `Off`, `Open` and `Closed` (#95779)
* Use common translations for On and Off

* Used common translations for open and closed

* Update homeassistant/components/sensibo/strings.json

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

* Only update state translations

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-04 13:52:01 +02:00
starkillerOG b3e1a3f624
Reolink fix missing title_placeholders (#95827) 2023-07-04 13:40:22 +02:00
starkillerOG ee4459f41e
Extend Reolink update entity (#94323)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-06-28 13:32:14 +02:00
starkillerOG d2cd0c9934
Add reolink channel based record, push, email, ftp, and buzzer switches (#91006)
* Add channel based email, ftp, push, rec and buzzer switches

* fix dataclass
2023-06-28 09:18:14 +02:00
starkillerOG 0bec93fa37
Reolink ONVIF long polling (#94770) 2023-06-26 21:54:40 +02:00
starkillerOG ee7f44b3da
Bump reolink-aio to 0.7.1 (#94761) 2023-06-18 13:13:21 +02:00
starkillerOG 117ab4a0e5
Bump reolink-aio to 0.6.0 (#94259) 2023-06-09 17:00:07 +02:00
starkillerOG b91c6911d9
Reolink autotrack streams for TrackMix and high/low resolution snapshots (#90591)
* Add auto track stream for Trackmix connected to NVR

* Enable autotracking stream by default

* Add snapshot high/low resolution

* Improve naming

* fix snapshots camera's not beeing added

* keep unique ID the same

* fix styling
2023-05-30 21:42:58 -04:00
starkillerOG 49f10eecaa
Fix false reolink ONVIF webhook warning (#91015) 2023-05-30 23:13:08 +02:00
starkillerOG f5358d3863
Bump reolink-aio to 0.5.16 (#93540) 2023-05-25 22:15:33 +02:00
starkillerOG 16780bf4c2
Prevent firmware update error when internet blocked for Reolink camera (#91738)
* Prevent firmware update error when internet blocked

* fix styling

* switch back to async_config_entry_first_refresh

* fix still raising when starting

* missing return

* Catch CancelledError
2023-05-24 15:16:35 +02:00
starkillerOG 051d631504
Poll Reolink motion when ONVIF not available (#92837)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-05-12 18:48:32 +02:00
starkillerOG 4a50c3fbae
Bump reolink-aio to 0.5.15 (#92979) 2023-05-12 23:04:36 +09:00
starkillerOG 228233ae0c
Bump reolink-aio to v0.5.13 (#91550) 2023-04-22 16:14:36 +02:00
starkillerOG 8544d73b88
Reolink doorbell extend features (#90469) 2023-04-22 13:57:10 +02:00
krazos 717898fc92
Change entity category of IR light setting from control to config (#91382) 2023-04-17 11:10:06 +02:00
starkillerOG 88bde2a914
Reolink ONVIF move read to primary callback (#91478)
* Move read to primary callback

* fix styling

* Do not raise on ConnectionResetError

* Split request.text() to .read() and decode("utf-8")
2023-04-16 22:48:39 -10:00
starkillerOG adc8a13f93
Reolink prevent ONVIF push being lost due to ConnectionResetError (#91070)
* Make "Connection lost" error less likely

* Handle connection loss during ONVIF event reading

* tweak

* fix styling

* catch asyncio.CancelledError from request.text()

* missing ()

* re-raise cancelation for proper cleanup

* Simplify

* Also set webhook_reachable if connection lost

* fix styntax

* Send HTTP_OK directly after data read done

* protect agains garbage collection

* Protect shielded task (inner) not shielded future (outer)

* fix black

* Make sure exceptions are logged

* fix spelling

* fix black

* fix spelling

* Simplify using hass.async_create_task

* clarify comment

* Eleborate comment

* Update homeassistant/components/reolink/host.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Apply suggestions from bdraco

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-04-14 21:05:22 -04:00
starkillerOG e8142987a7
Reolink config flow fix custom port when USE_HTTPS not selected (#91137)
give USE_HTTPS a default
2023-04-10 12:44:25 -04:00
starkillerOG fca9052430
Bump reolink-aio to 0.5.10 (#90963)
* use is_doorbell instead of is_doorbell_enabled

* Bump reolink-aio to 0.5.10
2023-04-06 14:35:22 -04:00
starkillerOG a05fbdeedb
Add async_write_ha_state to Reolink select (#90764)
Add async_write_ha_state to select
2023-04-04 11:48:14 +02:00
starkillerOG ddb1610e90
Reolink late review comments (#90668)
review comments
2023-04-03 07:22:38 +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 09d54428c9
Bump reolink-aio to 0.5.9 (#90590) 2023-03-31 14:31:04 -04:00
starkillerOG 1023628821
Bump reolink-aio to 0.5.8 (#90467) 2023-03-29 17:26:05 -04:00
starkillerOG d427c35c87
Reolink improve config flow login (#90036) 2023-03-29 14:41:38 +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 0d58646823
Bump reolink-aio to 0.5.7 (#90344) 2023-03-27 11:11:38 +02:00
starkillerOG 97f8a3fdcd
Reolink add auto tracking entities (#90063) 2023-03-27 11:04:03 +02:00
starkillerOG d20b07f3ac
Bump reolink-aio to 0.5.6 (#90059) 2023-03-21 14:16:50 -04:00
starkillerOG 939fce4607
Shield Reolink webhook callback from cancelation (#89798)
* shield Reolink webhook callback from cancelation

* Update homeassistant/components/reolink/host.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* fix styling

* fix black

* Revert to using asyncio.shield

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-03-19 23:35:16 -04:00
starkillerOG 4eee626770
Reolink check firmware (#88903) 2023-03-15 18:54:28 +01:00
starkillerOG 6a01c3369d
Reolink auto quick reply (#89656) 2023-03-15 12:56:01 +01:00
starkillerOG d54259f9ac
Bump reolink-aio to 0.5.5 (#89646) 2023-03-13 18:47:00 +01:00
starkillerOG 431a8d0047
Add support for dual lens cameras in Reolink (#89554) 2023-03-13 12:16:52 +01:00
starkillerOG 6e10cd81dd
Use repair issue when port enable fails in Reolink (#89591)
* Reolink use repair issue for disabled ports

* fix styling

* Add port repair issue tests

* Update homeassistant/components/reolink/strings.json

Co-authored-by: Erik Montnemery <erik@montnemery.com>

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-13 11:43:41 +01:00
starkillerOG c9d5baca75
Add hostname to DHCP discovery title (#89426) 2023-03-09 11:12:29 +01:00
Marc Mueller bfb89fd8f2
Update pylint to 2.17.0 (#89377)
* Update pylint to 2.17.0

* Remove unused pylint disable comments
2023-03-08 10:54:19 -05:00
starkillerOG 9381865f1c
Fix setting Reolink focus (#89374)
fix setting focus
2023-03-08 12:25:51 +01:00
Marc Mueller 84034959ba
Improve reolink generic typing (#88786)
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2023-03-06 21:54:34 +01:00