Commit graph

53 commits

Author SHA1 Message Date
epenet
d6e73a89f3
Cleanup unnecessary __init__ method in OptionsFlow (#129651)
* Cleanup unnecessary init step in OptionsFlow

* Increase coverage
2024-11-02 18:15:41 +01:00
Erik Montnemery
e2518ab4d7
Avoid mutating title_placeholders in synology_dsm (#127210) 2024-10-01 14:31:13 +02:00
Jan-Philipp Benecke
1d425f3913
Use debug/warning instead of info log level in components [s] (#126141)
* Use debug/warning instead of info log level in components [s]

* Fix merge error
2024-09-18 21:33:52 +02:00
Marc Mueller
197062139e
Fix schema typing (1) (#120443) 2024-06-25 18:54:06 +02:00
Marc Mueller
bcd1243686
Use VolDictType to improve schema typing (#120417) 2024-06-25 15:15:59 +02:00
Michael
203d110787
Remove timeout option and set timeout static to 30 seconds in Synology DSM (#116815)
* remove timeout option, set timeout static to 30 seconds

* be slightly faster :)
2024-05-05 18:51:35 +02:00
Michael
3d7d8fa28b
Increase default timeout to 30 seconds in Synology DSM (#116836)
increase default timeout to 30s and use it consequently
2024-05-05 15:07:18 +02:00
J. Nick Koston
008c42e282
Bump py-synologydsm-api to 2.4.2 (#115499)
Co-authored-by: mib1185 <mail@mib85.de>
2024-04-13 14:38:37 -05:00
Marc Mueller
930a396712
Add empty line after module docstring [s] (#112704) 2024-03-08 14:33:51 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler (#111865) 2024-02-29 22:16:14 +01:00
J. Nick Koston
4bf4bc7e9b
Use new config entry update/abort helper in synology_dsm (#108682) 2024-01-22 11:39:57 -10:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Michael
4e7f39e3d0
Fix reconfigure by SSDP or Zeroconf discovery in Synology DSM (#92088) 2023-04-27 00:52:17 +02:00
J. Nick Koston
a62b8a4f5b
Add zeroconf discovery to Synology DSM (#86062) 2023-01-21 11:12:18 -10:00
Michael
a7ebec4d02
Make Synology DSM integration fully async (#85904) 2023-01-15 13:19:08 -10:00
Simone Chemelli
e436f6a7b2
Fix missing title placeholders in Synology DSM reauth flow (#83238)
* Fix missing title placeholders in reauth flow

* fix tests

Co-authored-by: mib1185 <mail@mib85.de>
2022-12-04 10:11:24 -08:00
Marc Mueller
0006629ca2
Fix small type issue [synology_dsm] (#75762) 2022-07-26 12:26:31 +02:00
epenet
ef5fccad9e
Use standard argument name in async_step_reauth (#74139) 2022-06-28 23:23:32 +02:00
epenet
fc8727454a
Use Mapping for async_step_reauth (p-s) (#72766) 2022-06-02 14:28:14 +02:00
Michael
275d4b9770
Improve device shutdown and unload of Synology DSM integration (#65936)
* ignore errors during unload/logout

* automatic host update is an info, nut debug
2022-02-06 14:02:31 -08:00
Michael
eda5cfc12d
Add option to select quality of camera snapshots taken from Synology DSM connected cameras (#58306) 2022-01-23 10:23:04 -10:00
epenet
0c89c8a6b4
Use dataclass properties in synology_dsm discovery (#60740)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:04:00 +01:00
epenet
ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
Michael
445c7301f8
Skip auto-update when fqdn and ssl-verfiy is used for Synology DSM (#57568) 2021-10-14 13:55:31 -07:00
Michael
2d174d0cbb
Set unique id while SSDP discovery of Synology DSM (#56914) 2021-10-02 13:52:28 -07:00
Michael
2f3a11f930
Rewrite re-auth mechanism in Synology DSM integration (#54298) 2021-09-07 09:10:50 +02:00
Michael
13cc671844
Re-configuration possibilities for Synology DSM (#53285)
* add automated host/ip reconfig via SSDP

* add reconfig of existing entry

* adjust tests

* adjust tests again

* use self._async_current_entries()

* _async_get_existing_entry()

* apply suggestions
2021-08-28 14:11:51 -05:00
Michael
f128bc9ef8
Add reauth flow to Synology DSM (#53204) 2021-07-21 09:16:27 -07:00
Michael
1b478ba02e
Remove yaml support from Synology DSM (#53197) 2021-07-19 19:39:32 +02:00
Milan Meulemans
aacb334cc8
Remove connection classes (#51801) 2021-06-13 12:05:09 +02:00
Maciej Bieniek
f212049fc2
Add constructor return type in integrations O-S (#50896) 2021-05-20 15:58:17 +02:00
Michael
042822e35e
Improve typing for synology_dsm (#49656) 2021-05-09 22:44:55 +02:00
Franck Nijhof
8eb27374c6
Clean up connection classes in integrations P-S (#49893) 2021-04-30 21:04:44 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Michael
d96249e39c
Implement additional DataUpdateCoordinator to harmonize the data update handling of Synology DSM (#46113) 2021-02-23 16:23:50 -06:00
Franck Nijhof
bc1daf1802
None optional hass typing in FlowHandler (#46462)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-13 13:21:37 +01:00
Michael
dbe89c1e02
Add reboot and shutdown service to synology_dsm (#42697)
* add reboot and shutdown service to synology_dsm

* apply suggestions

* make _async_setup_services() async

* add comment to make sure unique_id is serial
2020-11-11 19:06:50 +01:00
Michael
8d9a844e84
Add verify_ssl option for connection setup to synology_dsm (#42539) 2020-11-02 14:23:16 +01:00
Michael
a2f2a42e66
Fix adding Virtual DSM system in synology_dsm (#42523) 2020-10-29 09:22:36 +01:00
Quentame
ae1c15ff14
Set longer timeout during synology_dsm config flow (#41364) 2020-10-07 01:14:05 +02:00
SNoof85
0460166c7c
Use reference strings in Synology_DSM (#41333)
* Update strings.json

* Update config_flow.py

* Update test_config_flow.py
2020-10-06 15:35:36 +02:00
Quentame
bab4ad4f17
Add timeout config option to Synology DSM (#40000) 2020-09-12 20:36:39 -05:00
Quentame
95a33ba894
Bump Synology DSM to 0.9.0 (#39819) 2020-09-08 23:38:41 +02:00
Quentame
0ed25e9f4e
Fix Synology DSM discovery can't be ignored (#35331) 2020-05-07 10:31:35 -07:00
Quentame
81651b0b25
Add Synology DSM scan interval option flow (#35183)
* Add Synology DSM scan interval option flow

* Add options tests

* Review: use entry.update_listeners

* Use cv.positive_int

* Try to fix "ValueError: Config entry has already been setup!"

* Fix ValueError
2020-05-07 00:15:49 +02:00
Quentame
661656e373
Fix Synology NAS discovered multiple times (#35094) 2020-05-02 22:46:55 -07:00
Quentame
b741199ed3
Log config flow errors (#34665) 2020-04-24 23:10:57 +02:00
J. Nick Koston
f94329dbbd
Handle synology_dsm discovery broadcasting on multiple ip addresses (#34623) 2020-04-23 17:53:18 -07:00
Quentame
a8cd7203df
Bump python-synology to 0.7.0 (#34534) 2020-04-22 16:28:47 -05:00
Quentame
30744bea9c
Add 2SA authentication to Synology DSM (#34101)
Co-Authored-By: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
2020-04-17 18:47:50 -05:00