mirror of
https://github.com/Andre0512/hon.git
synced 2024-12-22 10:45:30 +00:00
Fix log device info #40
This commit is contained in:
parent
6828f3e9a8
commit
0afbfe997d
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue