fix: save recording path as a string not Pathlib path; upgrade packages

pull/106/head
Jeff Culverhouse 3 months ago
parent de3022b920
commit 1231871ba7

@ -270,7 +270,7 @@ class HelpersMixin:
self.upsert_state(
device_id,
media={"recording": file_path},
media={"recording": str(file_path)},
sensor={"recording_time": datetime.now(timezone.utc).isoformat()},
)
local_file = Path(f"./{file_name}")

@ -410,7 +410,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/93/4b/979db9e44be09f71e
[[package]]
name = "mqtt-helper-graystorm"
version = "0.1.0"
source = { git = "https://github.com/weirdtangent/mqtt-helper.git?branch=main#0d13c9520dfaa23792ace374c1d4fb722543434c" }
source = { git = "https://github.com/weirdtangent/mqtt-helper.git?branch=main#68bc9405c3432c0e5a4f46b39436dcad3193f833" }
dependencies = [
{ name = "logging" },
{ name = "paho-mqtt" },

Loading…
Cancel
Save