From 8d495aa437fbaa75cefd8acfa774b0d1f571c9d0 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Tue, 15 Nov 2022 03:28:40 -0500 Subject: [PATCH] Call dbus with string value not enum (#3996) Co-authored-by: Pascal Vizeli --- supervisor/dbus/rauc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervisor/dbus/rauc.py b/supervisor/dbus/rauc.py index 8591c117b..ae098137d 100644 --- a/supervisor/dbus/rauc.py +++ b/supervisor/dbus/rauc.py @@ -95,7 +95,7 @@ class Rauc(DBusInterfaceProxy): @dbus_connected async def mark(self, state: RaucState, slot_identifier: str) -> tuple[str, str]: """Get slot status.""" - return await self.dbus.Installer.call_mark(state, slot_identifier) + return await self.dbus.Installer.call_mark(state.value, slot_identifier) @dbus_connected async def update(self, changed: dict[str, Any] | None = None) -> None: