mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-27 19:16:29 +00:00
Update gdbus.py
This commit is contained in:
parent
43e6ca8f4a
commit
2efa9f9483
@ -27,6 +27,11 @@ class Dbus(object):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
async def connect(bus_name, object_path):
|
async def connect(bus_name, object_path):
|
||||||
"""Read object data."""
|
"""Read object data."""
|
||||||
|
self = Dbus(bus_name, object_path)
|
||||||
|
self._init_proxy()
|
||||||
|
|
||||||
|
_LOGGER.info("Connect to dbus: %s", bus_name)
|
||||||
|
return self
|
||||||
|
|
||||||
async def _init_proxy(self):
|
async def _init_proxy(self):
|
||||||
"""Read object data."""
|
"""Read object data."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user