Skip to content

Commit

Permalink
changed name of sensor community import to {locationId}SC
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik Sauer committed Feb 24, 2025
1 parent 171c813 commit 5ebf6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/services/data_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def sensor_community_import_grouped_by_location(db: Session, data: dict, source:
# create station
station = Station(
# take sensor id as device name
device = f'{loc.id}_location_id',
device = f'{loc.id}SC',
firmware = None,
apikey = None,
location_id = loc.id,
Expand Down

0 comments on commit 5ebf6f8

Please sign in to comment.