mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 07:06:30 +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):
|
async def get_properties(self, interface):
|
||||||
"""Read all properties from interface."""
|
"""Read all properties from interface."""
|
||||||
try:
|
try:
|
||||||
return await self.call_dbus(DBUS_METHOD_GETALL, interface)[0]
|
return (await self.call_dbus(DBUS_METHOD_GETALL, interface))[0]
|
||||||
except IndexError:
|
except IndexError:
|
||||||
_LOGGER.error("No attributes returned for %s", interface)
|
_LOGGER.error("No attributes returned for %s", interface)
|
||||||
raise DBusFatalError from None
|
raise DBusFatalError from None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user