Tado: don't reference unset hass var (#13237)

Tado: don't reference unset hass var
pull/13252/head
Paulus Schoutsen 2018-03-15 13:53:59 -07:00 committed by GitHub
parent 89a19c89a7
commit 456ff4e84b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(