db version

This commit is contained in:
2024-08-28 22:53:58 +02:00
parent 28908255e7
commit b8faf975bf
6 changed files with 167 additions and 34 deletions

View File

@@ -44,7 +44,7 @@ class HomeAssistant:
if message.action == "record":
location: dict[str, str] = ast.literal_eval(message.content)
await self._location_recorder.insert_location_now(
people=location["person"],
person=location["person"],
location=LocationData(
latitude=float(location["latitude"]),
longitude=float(location["longitude"]),