diff --git a/custom_components/history_services/manifest.json b/custom_components/history_services/manifest.json index 39c6b16..eb3d67c 100644 --- a/custom_components/history_services/manifest.json +++ b/custom_components/history_services/manifest.json @@ -7,5 +7,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/davidrapan/ha-history/issues", "requirements": ["simplekml"], - "version": "0.1.2" + "version": "24.07.04" } diff --git a/custom_components/history_services/services/device_tracker.py b/custom_components/history_services/services/device_tracker.py index 97e57c4..0cc7bc0 100644 --- a/custom_components/history_services/services/device_tracker.py +++ b/custom_components/history_services/services/device_tracker.py @@ -212,7 +212,7 @@ async def export_service(call: ServiceCall) -> ServiceResponse: if "filename" in call.data: filename = "" if call_filename := call.data["filename"]: - filename = call_filename + filename = call_filename.replace('.', '/') if directory and filename and fileext: file = hass.config.path(f'{directory}{filename}.{fileext}')