mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Tado: don't reference unset hass var (#13237)
Tado: don't reference unset hass var
This commit is contained in:
parent
89a19c89a7
commit
456ff4e84b
@ -100,7 +100,7 @@ class TadoDeviceScanner(DeviceScanner):
|
||||
last_results = []
|
||||
|
||||
try:
|
||||
with async_timeout.timeout(10, loop=self.hass.loop):
|
||||
with async_timeout.timeout(10):
|
||||
# Format the URL here, so we can log the template URL if
|
||||
# anything goes wrong without exposing username and password.
|
||||
url = self.tadoapiurl.format(
|
||||
|
Loading…
x
Reference in New Issue
Block a user