diff --git a/my/location/fallback/via_home.py b/my/location/fallback/via_home.py index 590c028..259dcaa 100644 --- a/my/location/fallback/via_home.py +++ b/my/location/fallback/via_home.py @@ -25,7 +25,7 @@ class Config(user_config): # default ~30km accuracy # this is called 'home_accuracy' since it lives on the base location.config object, # to differentiate it from accuracy for other providers - home_accuracy: float = 30_000 + home_accuracy: float = 30_000.0 # TODO could make current Optional and somehow determine from system settings? @property diff --git a/my/location/google_takeout_semantic.py b/my/location/google_takeout_semantic.py index 4d3514e..fcf7f01 100644 --- a/my/location/google_takeout_semantic.py +++ b/my/location/google_takeout_semantic.py @@ -28,7 +28,7 @@ class semantic_locations_config(user_config.google_takeout_semantic): # https://locationhistoryformat.com/reference/semantic/#/$defs/placeVisit/properties/locationConfidence require_confidence: int = 40 # default accuracy for semantic locations - accuracy: float = 100 + accuracy: float = 100.0 config = make_config(semantic_locations_config)