feat(io): Add InterfaceDeviceManager to D-Bus bus provider

Integrated the InterfaceDeviceManager class into the com.revolutionpi
.ios1 D-Bus bus provider. This addition enables managing device paths
and querying all devices via D-Bus.

Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
Sven Sager
2026-01-30 12:29:08 +01:00
parent ffd04a0410
commit b68f1ffb36
2 changed files with 50 additions and 0 deletions

View File

@@ -11,6 +11,9 @@ from pydbus import SessionBus, SystemBus
from revpimodio2 import Cycletools
from . import REVPI_DBUS_NAME
from .interface_devices import (
InterfaceDeviceManager,
)
from .interface_ios import (
InterfaceIoManager,
InterfaceInpBool,
@@ -75,6 +78,7 @@ class BusProviderIo(Thread):
try:
self._bus.publish(
REVPI_DBUS_NAME,
InterfaceDeviceManager(self._modio),
InterfaceIoManager(self._modio, self._dc_io_interfaces),
*lst_interfaces,
)