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:
parent
b53081dc51
commit
203d110787
4 changed files with 7 additions and 15 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue