add location
This commit is contained in:
@@ -159,8 +159,8 @@ async def mqtt_lifecycle_manager():
|
||||
# Only scan library if needed, otherwise it's heavy I/O
|
||||
"available_systems": scan_local_library(),
|
||||
"location": {
|
||||
"lat": float(NODE_LAT) if NODE_LAT else None,
|
||||
"long": float(NODE_LONG) if NODE_LONG else None
|
||||
"lat": str(NODE_LAT) if NODE_LAT else None,
|
||||
"long": str(NODE_LONG) if NODE_LONG else None
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user