Add timeout to RainMachine login (#19476)
* Add timeout to RainMachine login * Moved timeout logic to regenmaschine * Moving logic back into try/except * Bumped requirementspull/19495/head
parent
dd885a456e
commit
c15445159d
|
@ -24,7 +24,7 @@ from .config_flow import configured_instances
|
|||
from .const import (
|
||||
DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN)
|
||||
|
||||
REQUIREMENTS = ['regenmaschine==1.0.7']
|
||||
REQUIREMENTS = ['regenmaschine==1.1.0']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -164,8 +164,7 @@ async def async_setup_entry(hass, config_entry):
|
|||
CONF_MONITORED_CONDITIONS, list(BINARY_SENSORS)),
|
||||
config_entry.data.get(CONF_SENSORS, {}).get(
|
||||
CONF_MONITORED_CONDITIONS, list(SENSORS)),
|
||||
config_entry.data.get(CONF_ZONE_RUN_TIME, DEFAULT_ZONE_RUN)
|
||||
)
|
||||
config_entry.data.get(CONF_ZONE_RUN_TIME, DEFAULT_ZONE_RUN))
|
||||
await rainmachine.async_update()
|
||||
except RainMachineError as err:
|
||||
_LOGGER.error('An error occurred: %s', err)
|
||||
|
|
|
@ -1390,7 +1390,7 @@ raincloudy==0.0.5
|
|||
# raspihats==2.2.3
|
||||
|
||||
# homeassistant.components.rainmachine
|
||||
regenmaschine==1.0.7
|
||||
regenmaschine==1.1.0
|
||||
|
||||
# homeassistant.components.python_script
|
||||
restrictedpython==4.0b7
|
||||
|
|
|
@ -224,7 +224,7 @@ pyunifi==2.13
|
|||
pywebpush==1.6.0
|
||||
|
||||
# homeassistant.components.rainmachine
|
||||
regenmaschine==1.0.7
|
||||
regenmaschine==1.1.0
|
||||
|
||||
# homeassistant.components.python_script
|
||||
restrictedpython==4.0b7
|
||||
|
|
Loading…
Reference in New Issue