Fix log device info #40

This commit is contained in:
Andre Basche 2023-05-09 12:41:41 +02:00
parent 6828f3e9a8
commit 0afbfe997d
2 changed files with 2 additions and 2 deletions

View File

@ -83,5 +83,5 @@ class HonFeatureRequestButton(HonEntity, ButtonEntity):
async def async_press(self) -> None: async def async_press(self) -> None:
pyhon_version = pkg_resources.get_distribution("pyhon").version pyhon_version = pkg_resources.get_distribution("pyhon").version
info = f"Device Info:\n{self._device.diagnose}pyhOnVersion: {pyhon_version}" info = f"Device Info:\n{self._device.diagnose()}pyhOnVersion: {pyhon_version}"
_LOGGER.error(info) _LOGGER.error(info)

View File

@ -7,5 +7,5 @@
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"issue_tracker": "https://github.com/Andre0512/hon/issues", "issue_tracker": "https://github.com/Andre0512/hon/issues",
"requirements": ["pyhOn==0.10.6"], "requirements": ["pyhOn==0.10.6"],
"version": "0.7.3-beta.2" "version": "0.7.3"
} }