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

Tado: don't reference unset hass var
pull/13369/head
Paulus Schoutsen 2018-03-15 13:53:59 -07:00
parent 2388d62755
commit 7e08e8bd51
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(