Skip to content

Commit

Permalink
Update ble_gateway.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DigiH committed Jan 14, 2024
1 parent 378e55c commit 796340c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TheengsGateway/ble_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,9 @@ def decode_advertisement(
) # Publish sensor data to Home Assistant MQTT discovery
else:
self.publish_json(decoded_json, decoded=True)

# Check tracker timeouts
self.check_tracker_timeout()
elif self.configuration["publish_all"]:
add_manufacturer(data_json)
self.publish_json(data_json, decoded=False)
Expand Down

0 comments on commit 796340c

Please sign in to comment.