diff --git a/hassio/utils/gdbus.py b/hassio/utils/gdbus.py index efc50b4a9..b78245525 100644 --- a/hassio/utils/gdbus.py +++ b/hassio/utils/gdbus.py @@ -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