fix logging-not-lazy
This commit is contained in:
1 parent
f3199e7dae
commit
c3b25f2cd5
1 file changed
+2
-2
@@ -389,8 +389,8 @@ class HMDevice(Entity):
|
||||
except Exception as err:
|
||||
self._connected = False
|
||||
self._available = False
|
||||
_LOGGER.error("Exception while linking %s: %s" %
|
||||
(self._address, str(err)))
|
||||
_LOGGER.error("Exception while linking %s: %s",
|
||||
self._address, str(err))
|
||||
else:
|
||||
_LOGGER.critical("Delink %s object from HM!", self._name)
|
||||
self._connected = False
|
||||
|
||||
Reference in new issue
Block a user