Log the version reported by Bond hub upon startup to facilitate troub… (#38508)

This commit is contained in:
Eugene Prystupa
2020-08-03 11:55:04 -04:00
committed by GitHub
parent 86e38a8467
commit 809c2980df

View File

@@ -78,6 +78,7 @@ class BondHub:
async def setup(self): async def setup(self):
"""Read hub version information.""" """Read hub version information."""
self._version = await self.bond.version() self._version = await self.bond.version()
_LOGGER.debug("Bond reported the following version info: %s", self._version)
# Fetch all available devices using Bond API. # Fetch all available devices using Bond API.
device_ids = await self.bond.devices() device_ids = await self.bond.devices()