add location

This commit is contained in:
Logan Cusano
2025-12-28 18:29:58 -05:00
parent 642e8c8da4
commit acf9fa48d2

View File

@@ -159,8 +159,8 @@ async def mqtt_lifecycle_manager():
# Only scan library if needed, otherwise it's heavy I/O # Only scan library if needed, otherwise it's heavy I/O
"available_systems": scan_local_library(), "available_systems": scan_local_library(),
"location": { "location": {
"lat": float(NODE_LAT) if NODE_LAT else None, "lat": str(NODE_LAT) if NODE_LAT else None,
"long": float(NODE_LONG) if NODE_LONG else None "long": str(NODE_LONG) if NODE_LONG else None
} }
} }