Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Jun 24, 2024
1 parent 0a72f63 commit 266e781
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions TheengsGateway/ble_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def subscribe(self, sub_topic: str) -> None:
def on_message(client, userdata, msg) -> None: # noqa: ANN001,ARG001
# evaluate tracker sync message
if msg.topic == "theengs/internal/trackersync":
logger.info("theengs/internal/trackersync")
msg_json = json.loads(msg.payload)
logger.info("trackersync message: %s", msg_json)

Expand Down
1 change: 1 addition & 0 deletions TheengsGateway/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def publish_device_info(self, pub_device) -> None: # noqa: ANN001
return

logger.info("publishing device `%s`", pub_device)
logger.info("Discovered Trackers: %s", self.discovered_trackers)
pub_device["properties"] = json.loads(
getProperties(pub_device["model_id"]),
)["properties"]
Expand Down

0 comments on commit 266e781

Please sign in to comment.