mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-17 14:16:29 +00:00
Call dbus with string value not enum (#3996)
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
parent
9559ac06b9
commit
8d495aa437
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user