mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-18 22:56:31 +00:00
fix attr
This commit is contained in:
parent
9041eb9e9a
commit
53f42ff934
@ -104,7 +104,7 @@ class DBus:
|
||||
async def get_properties(self, interface):
|
||||
"""Read all properties from interface."""
|
||||
try:
|
||||
return await self.call_dbus(DBUS_METHOD_GETALL, interface)[0]
|
||||
return (await self.call_dbus(DBUS_METHOD_GETALL, interface))[0]
|
||||
except IndexError:
|
||||
_LOGGER.error("No attributes returned for %s", interface)
|
||||
raise DBusFatalError from None
|
||||
|
Loading…
x
Reference in New Issue
Block a user