We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb410d2 commit 5014e36Copy full SHA for 5014e36
1 file changed
opensensor/collection_apis.py
@@ -402,6 +402,7 @@ def get_relay_board_pipeline(
402
if end_date is None:
403
end_date = datetime.utcnow()
404
match_clause = get_initial_match_clause(device_ids, device_name, start_date, end_date)
405
+ match_clause["relays"] = {"$exists": True}
406
407
# The MongoDB aggregation pipeline for Relay Board data
408
pipeline = [
0 commit comments