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
Michael
9921a67a05
Bump py-synologydsm-api to 2.5.3 ( #127035 )
2024-09-29 10:12:27 -05: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
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 ( #124771 )
2024-08-28 13:48:13 +02:00
Michael
e39bfeac08
Allow shared Synology DSM Photo albums shown in media browser ( #123613 )
2024-08-15 18:18:05 +02:00
Michael
4a6e812963
Bump py-synologydsm-api to 2.4.5 ( #123815 )
...
bump py-synologydsm-api to 2.4.5
2024-08-13 22:21:48 +02:00
Michael
844ccf461f
Remove unnecessary config schema definitions ( #123197 )
2024-08-05 17:44:14 +02:00
Marius
4994e46ad0
Add mdi:alert-circle-outline to degrade status ( #122859 )
2024-07-30 16:44:04 +02:00
Franck Nijhof
a9bf12f102
Rename Services to Actions in translation strings ( #121777 )
2024-07-15 21:19:25 +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
Lode Smets
c0a680a80a
Fix for Synology DSM shared images ( #117695 )
...
* Fix for shared images
* - FIX: Synology shared photos
* - changes after review
* Added test
* added test
* fix test
2024-06-16 00:48:08 +02:00
Michael
b577ce61b8
Use more conservative timeout values in Synology DSM ( #119169 )
...
use ClientTimeout object
2024-06-08 23:52:14 +02:00
Michael
d6ec8a4a96
Bump py-synologydsm-api to 2.4.4 ( #119156 )
...
bump py-synologydsm-api to 2.4.4
2024-06-08 21:24:59 +02:00
Michael
46eb779c5c
Avoid future exception during setup of Synology DSM ( #118583 )
...
* avoid future exception during integration setup
* clear future flag during setup
* always clear the flag (with comment)
2024-06-01 23:51:17 +02:00
Marc Mueller
7b27101f8a
Use PEP 695 for class annotations (3) ( #117777 )
2024-05-20 10:46:01 +02:00
Michael
a983a8c6d8
Consider only active config entries as media source in Synology DSM ( #117691 )
...
consider only active config entries as media source
2024-05-18 16:38:22 +02:00
Marc Mueller
25d1ca747b
Use PEP 695 for decorator typing (3) ( #117640 )
2024-05-17 16:27:32 +02:00
Michael
d9ad0c101b
Apply late review on Synology DSM ( #117060 )
...
keep CONF_TIMEOUT in options to allow downgrades
2024-05-08 14:30:58 +02:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 ( #115735 )
2024-05-06 20:33:26 +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
b4ec1f5877
Avoid duplicate data fetch during Synologs DSM setup ( #116839 )
...
don't do first refresh of central coordinator, is already done by api.setup before
2024-05-05 15:09:26 +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
b4bac7705e
Ensure all synology_dsm coordinators handle expired sessions ( #116796 )
...
* Ensure all synology_dsm coordinators handle expired sessions
* Ensure all synology_dsm coordinators handle expired sessions
* Ensure all synology_dsm coordinators handle expired sessions
* handle cancellation
* add a debug log message
---------
Co-authored-by: mib1185 <mail@mib85.de>
2024-05-05 12:09:57 +02:00
Joost Lekkerkerker
fd8287bc15
Set Synology camera device name as entity name ( #109123 )
2024-04-30 09:49:35 +02:00
Sid
895f73d8e4
Enable Ruff A001 ( #115654 )
2024-04-21 23:25:27 +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
J. Nick Koston
f2fe2c4510
Fix synology_dsm availablity ( #115073 )
...
* Remove reload on update failure from synology_dsm
fixes #115062
The coordinator will retry on its own later, there is no
reason to reload here. This was added in #42697
* fix available checks
2024-04-07 10:54:40 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Michael
6369b75653
Fix Synology DSM setup in case no Surveillance Station permission ( #114757 )
2024-04-03 17:53:44 +02:00
Joost Lekkerkerker
7f9ad140f9
Fix wrong icons ( #114567 )
...
* Fix wrong icons
* Fix wrong icons
2024-04-01 15:53:14 +02:00
Sid
f7b7f74d10
Enable Ruff TRY201 ( #114269 )
...
* Enable Ruff TRY201
* remove redundant rules
2024-03-28 10:18:07 +01:00
Marc Mueller
81c34ac952
Fix spelling [docstrings + comments] ( #114168 )
2024-03-25 11:33:00 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Joost Lekkerkerker
05172d8e4d
Improve loops and lists ( #113269 )
...
* Enable PERF
* Enable PERF rule
* Enable PERF rule
* Don't enable flag yet
2024-03-14 10:22:20 +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
Joost Lekkerkerker
2a5be33f34
Remove entity description mixin in Synology DSM ( #112946 )
2024-03-10 21:52:01 +01:00
Paulus Schoutsen
f416d67d21
Remove built-in support for import_executor in manifest ( #112725 )
2024-03-08 12:02:32 -05:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
Joost Lekkerkerker
f0679f6689
Add icon translations to Synology DSM ( #112299 )
2024-03-05 14:17:24 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler ( #111865 )
2024-02-29 22:16:14 +01:00
J. Nick Koston
4ea1c5cc3c
Add support for importing integrations in the executor ( #111336 )
...
* Add support for pre-imports at setup time
alternative solution to #111331
* refactor
* refactor
* refactor
* mark >1.0s integrations
* no point in executor if already loaded
* no point in executor if already loaded
* cleanup
* cleanup
* two more
* one more
* analytics loads a lot more integrations
* cloud
* debug
* psutil, hardwre
* try zha
* Update homeassistant/setup.py
* await
* comments
* coverage
* coverage
* coverage
* move logic to loader
* move logic to loader
* preserve comments
2024-02-26 14:49:43 -05: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
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
c0ffeeca7
ff84b82027
Squeezebox to Synology DSM: add host field description ( #104864 )
...
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
2023-12-04 10:45:43 +01:00
Michael
dc708b8a18
Fix handling of unrecognized mimetypes in Synology DSM photos integration ( #104848 )
2023-12-01 15:58:15 +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
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00