Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions custom_components/tekmar_482/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ async def async_init_tha(self) -> None:
self._tha_inventory[b["address"]]["events"] = b["events"]

else:
_LOGGER.warning(f"Ignored method {p} during setup.")
_LOGGER.warning(f"Ignored method {tha_method} during setup.")

except KeyError as e:
_LOGGER.debug(f"Ignored unknown key: {e}")
Expand Down Expand Up @@ -371,7 +371,9 @@ async def run(self) -> None:
_LOGGER.debug(f"Run {p}")

if b["address"] in self.tha_ignore_addr:
_LOGGER.debug(f"Ignored {p} from address {b['address']}")
_LOGGER.debug(
f"Ignored {tha_method} from address {b['address']}"
)
continue

if tha_method in ["ReportingState"]:
Expand Down Expand Up @@ -545,7 +547,7 @@ async def run(self) -> None:
pass

else:
_LOGGER.warning(f"Unhandeled method: {p}")
_LOGGER.warning(f"Unhandeled method: {tha_method}")

except KeyError as e:
_LOGGER.debug(f"Ignored unknown key: {e}")
Expand Down
Loading