diff --git a/hassio/dbus/__init__.py b/hassio/dbus/__init__.py index 202155138..cc20e3f83 100644 --- a/hassio/dbus/__init__.py +++ b/hassio/dbus/__init__.py @@ -1 +1,20 @@ """DBus interface objects.""" + +from .systemd import Systemd + + +class DBusManager(CoreSysAttributes): + """DBus Interface handler.""" + + def __init__(self): + """Initialize DBus Interface.""" + self._systemd = Systemd() + + @property + def systemd(self): + """Return Systemd Interface.""" + return self._systemd + + async def load(self): + """Connect interfaces to dbus.""" + await self.systemd.connect()