Add debug logging for bond (#38304)

This commit is contained in:
Eugene Prystupa authored and GitHub committed 2020-07-27 21:53:56 -05:00
1 parent 213496095f
commit c29f412a70
2 files changed
+16 -2

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ class BondEntity(Entity):
)
self._available = False
else:
_LOGGER.debug("Device state for %s is:\n%s", self.entity_id, state)
if not self._available:
_LOGGER.info("Entity %s has come back", self.entity_id)
self._available = True