mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
fix logging-not-lazy
This commit is contained in:
parent
f3199e7dae
commit
c3b25f2cd5
@ -389,8 +389,8 @@ class HMDevice(Entity):
|
|||||||
except Exception as err:
|
except Exception as err:
|
||||||
self._connected = False
|
self._connected = False
|
||||||
self._available = False
|
self._available = False
|
||||||
_LOGGER.error("Exception while linking %s: %s" %
|
_LOGGER.error("Exception while linking %s: %s",
|
||||||
(self._address, str(err)))
|
self._address, str(err))
|
||||||
else:
|
else:
|
||||||
_LOGGER.critical("Delink %s object from HM!", self._name)
|
_LOGGER.critical("Delink %s object from HM!", self._name)
|
||||||
self._connected = False
|
self._connected = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user