diff --git a/requirements.txt b/requirements.txt index 1b7a11f26f3..06e3745afb1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,5 +22,5 @@ PyYAML==6.0.1 securetar==2023.3.0 sentry-sdk==1.34.0 voluptuous==0.13.1 -dbus-fast==2.12.0 +dbus-fast==2.13.1 typing_extensions==4.8.0 diff --git a/supervisor/dbus/systemd.py b/supervisor/dbus/systemd.py index b1bb0341bed..08ff79d4a9c 100644 --- a/supervisor/dbus/systemd.py +++ b/supervisor/dbus/systemd.py @@ -151,7 +151,7 @@ async def list_units( @dbus_connected async def start_transient_unit( - self, unit: str, mode: StartUnitMode, properties: list[tuple[str, Variant]] + self, unit: str, mode: StartUnitMode, properties: list[list[str, Variant]] ) -> str: """Start a transient unit which is released when stopped or on reboot. Returns object path of job.""" return await self.dbus.Manager.call_start_transient_unit( diff --git a/supervisor/mounts/mount.py b/supervisor/mounts/mount.py index ee5a56fb624..a0bbe38dc13 100644 --- a/supervisor/mounts/mount.py +++ b/supervisor/mounts/mount.py @@ -235,20 +235,20 @@ async def mount(self) -> None: try: options = ( - [(DBUS_ATTR_OPTIONS, Variant("s", ",".join(self.options)))] + [[DBUS_ATTR_OPTIONS, Variant("s", ",".join(self.options))]] if self.options else [] ) if self.type != MountType.BIND: - options += [(DBUS_ATTR_TYPE, Variant("s", self.type))] + options += [[DBUS_ATTR_TYPE, Variant("s", self.type)]] await self.sys_dbus.systemd.start_transient_unit( self.unit_name, StartUnitMode.FAIL, options + [ - (DBUS_ATTR_DESCRIPTION, Variant("s", self.description)), - (DBUS_ATTR_WHAT, Variant("s", self.what)), + [DBUS_ATTR_DESCRIPTION, Variant("s", self.description)], + [DBUS_ATTR_WHAT, Variant("s", self.what)], ], ) except DBusError as err: