mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Timeout of 1 second was a bit too optimistic for Tomato router
This commit is contained in:
@@ -317,7 +317,7 @@ class TomatoDeviceScanner(object):
|
|||||||
self.logger.info("Tomato:Scanning")
|
self.logger.info("Tomato:Scanning")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
response = requests.Session().send(self.req, timeout=1)
|
response = requests.Session().send(self.req, timeout=3)
|
||||||
|
|
||||||
# Calling and parsing the Tomato api here. We only need the
|
# Calling and parsing the Tomato api here. We only need the
|
||||||
# wldev and dhcpd_lease values. For API description see:
|
# wldev and dhcpd_lease values. For API description see:
|
||||||
|
Reference in New Issue
Block a user