mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-06-27 12:26:30 +00:00
small down the footprint
This commit is contained in:
parent
69142b6fb0
commit
f1237f124f
@ -74,9 +74,9 @@ class DBus(object):
|
||||
|
||||
# Read available methods
|
||||
for interface in xml.findall("/node/interface"):
|
||||
methods = []
|
||||
methods = set()
|
||||
for method in interface.findall("/method"):
|
||||
methods.append(method.get('name'))
|
||||
methods.add(method.get('name'))
|
||||
self.data[interface.get('name')] = methods
|
||||
|
||||
@staticmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user