Commit graph

203 commits

Author SHA1 Message Date
Marc Mueller
eedce95bc9
Use PEP 695 for class annotations (2) (#117776) 2024-05-20 10:43:59 +02:00
starkillerOG
abe83f5515
Fix Reolink battery translation_key unneeded (#117616) 2024-05-17 09:09:01 +02:00
starkillerOG
f788f88052
Add Reolink battery entities (#117506)
* add battery sensors

* Disable Battery Temperature and State by default

* fix mypy

* Use device class for icon
2024-05-16 21:41:19 +02:00
starkillerOG
38c2688ec2
Add Reolink PIR entities (#117507)
* Add PIR entities

* fix typo
2024-05-15 21:10:52 +02:00
starkillerOG
fd8dbe0367
Bump reolink-aio to 0.8.10 (#117501) 2024-05-15 16:19:02 +02:00
starkillerOG
e286621f93
Reolink fix not unregistering webhook during ReAuth (#117490) 2024-05-15 12:04:12 +02:00
Sid
ac54cdcdb4
Enable Ruff RUF010 (#115371)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-08 23:54:49 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 (#116250) 2024-05-07 14:00:27 +02:00
Øyvind Matheson Wergeland
fdef3ece13
Fix placeholder quotes (#114974)
* When quoting placeholders, always use double quotes so Lokalise recognizes the placeholder.

* Ensure that strings does not contain placeholders in single quotes.

* Avoid redefining value

* Moved string_with_no_placeholders_in_single_quotes

* Define regex once

* Fix tests
2024-04-06 13:01:56 +02:00
Martin Hjelmare
b1af590eed
Fix reolink media source data access (#114593)
* Add test

* Fix reolink media source data access
2024-04-02 00:14:13 +02:00
Sid
a5b609f081
Enable ruff TRY401 (#114395)
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
Sid
f7b7f74d10
Enable Ruff TRY201 (#114269)
* Enable Ruff TRY201

* remove redundant rules
2024-03-28 10:18:07 +01: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
starkillerOG
cd934c21f9
Add Reolink hdd/sd card storage sensor (#110961) 2024-03-21 11:41:32 +01:00
Joost Lekkerkerker
77917506bb
Improve lists in integrations [R-S] (#113233)
* Improve lists in integrations [R-S]

* Fix

* Fix
2024-03-13 21:55:00 +01:00
Marc Mueller
a033574ee2
Add empty line after module docstring [r] (#112703) 2024-03-08 15:05:07 +01:00
Joost Lekkerkerker
50a33c5a18
Fix typo in Reolink translation keys (#112489)
* Fix typo in Reolink translation keys

* Fix typo in Reolink translation keys
2024-03-06 12:14:21 +01:00
Joost Lekkerkerker
09b1b40833
Add icon translations to Reolink (#112208)
* Add icon translations to Reolink

* Fix

* Update homeassistant/components/reolink/icons.json

Co-authored-by: starkillerOG <starkiller.og@gmail.com>

* Update homeassistant/components/reolink/icons.json

---------

Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2024-03-06 11:02:13 +01:00
starkillerOG
403b47f712
Add Reolink play quick reply message (#112134) 2024-03-06 08:55:49 +01:00
starkillerOG
68f17b5eab
Add Reolink PTZ patrol start/stop (#112129) 2024-03-03 23:13:40 +01:00
starkillerOG
372886bf6c
Add package detection to Reolink (#112126)
Add package detection
2024-03-03 12:58:28 -05:00
starkillerOG
72efb3dab5
Bump reolink-aio to 0.8.9 (#112124)
* Update strings.json

* Bump reolink-aio to 0.8.9
2024-03-03 12:47:09 -05:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
starkillerOG
75e59167de
Reolink trigger ReAuth when credentials invalid during update (#111492)
Check for CredentialsInvalidError
2024-02-26 14:41:20 -05:00
starkillerOG
e83c7c8770
Bump reolink-aio to 0.8.8 (#110959) 2024-02-19 21:35:41 +01:00
starkillerOG
aa9f0f5734
Reolink continue setup when internet blocked (#110888) 2024-02-19 20:53:18 +01:00
starkillerOG
a27eea9b9f
Bump reolink_aio to 0.8.7 (#108248) 2024-01-17 16:28:15 -05:00
starkillerOG
fdf71b2687
Bump reolink_aio to 0.8.6 (#107541) 2024-01-08 17:01:19 +01:00
starkillerOG
ba0cb3bd05
Add Reolink image settings (#105415) 2024-01-02 15:39:28 +01:00
starkillerOG
95f6336ecd
Bump reolink_aio to 0.8.5 (#106747) 2023-12-31 00:45:05 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
starkillerOG
253182c650
Reolink change ir to switch (#105916)
* Change IR from light to switch

* Remove old entity

* Add test

* Apply suggestions from code review

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>

---------

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2023-12-18 11:13:20 +01:00
starkillerOG
f912b9c34a
Bump reolink_aio to 0.8.4 (#105946) 2023-12-18 10:37:22 +01:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z (#105657) 2023-12-13 17:05:37 +01:00
starkillerOG
d1ea04152a
Bump reolink_aio to 0.8.3 (#105489) 2023-12-11 17:37:15 +01:00
starkillerOG
25586f9efd
Add data descriptions to Reolink (#105298) 2023-12-09 13:06:18 +01:00
starkillerOG
0b6665ed09
Bump reolink_aio to 0.8.2 (#105157) 2023-12-07 07:39:37 +01:00
starkillerOG
3316f6980d
Do not fail if Reolink ONVIF cannot be connected (#104947) 2023-12-04 10:44:29 +01:00
c0ffeeca7
9b9d9c6116
Reolink to Ruckus: add host field description (#104861)
Co-authored-by: starkillerOG <starkiller.og@gmail.com>
2023-12-04 10:37:02 +01:00
starkillerOG
381036e46a
Reolink only fetch data for enabled entities (#104157) 2023-12-02 14:10:44 +01:00
starkillerOG
742e2dbbe4
Reolink schedule update after firmware update (#104867) 2023-12-01 12:26:18 +01:00
starkillerOG
fa7a74c611
Cleanup Reolink formatting (late review) (#104793)
cleanup
2023-11-30 13:54:37 +01:00
starkillerOG
69af4c8603
Add common reolink entity description (#104142)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-11-30 11:26:33 +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
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
starkillerOG
e9dd158a8d
Reolink ptz service to specify move speed (#104350) 2023-11-24 11:50:16 +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
968563253f
Bump reolink-aio to 0.8.1 (#104382) 2023-11-22 20:49:21 +01:00
starkillerOG
6c6e85f996
Reolink use parenthesis for multi-line lambda (#104321)
Use parenthesis
2023-11-22 08:50:29 +01:00