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 :)
This commit is contained in:
Michael 2024-05-05 18:51:35 +02:00 committed by GitHub
parent b53081dc51
commit 203d110787
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 15 deletions

View file

@ -34,7 +34,6 @@ from homeassistant.const import (
CONF_PORT,
CONF_SCAN_INTERVAL,
CONF_SSL,
CONF_TIMEOUT,
CONF_USERNAME,
CONF_VERIFY_SSL,
)
@ -394,12 +393,6 @@ class SynologyDSMOptionsFlowHandler(OptionsFlow):
CONF_SCAN_INTERVAL, DEFAULT_SCAN_INTERVAL
),
): cv.positive_int,
vol.Required(
CONF_TIMEOUT,
default=self.config_entry.options.get(
CONF_TIMEOUT, DEFAULT_TIMEOUT
),
): cv.positive_int,
vol.Required(
CONF_SNAPSHOT_QUALITY,
default=self.config_entry.options.get(