diff --git a/homeassistant/components/device_tracker/tplink.py b/homeassistant/components/device_tracker/tplink.py index 560babe3d61..032e5db8247 100755 --- a/homeassistant/components/device_tracker/tplink.py +++ b/homeassistant/components/device_tracker/tplink.py @@ -198,7 +198,7 @@ class Tplink3DeviceScanner(TplinkDeviceScanner): return True except (ValueError, KeyError) as _: _LOGGER.error("Couldn't fetch auth tokens!" - " Response was: {}".format(response.text)) + " Response was: %s" % response.text) return False @Throttle(MIN_TIME_BETWEEN_SCANS)