more debug info

This commit is contained in:
Jack Robison 2018-07-31 17:29:11 -04:00
parent 73f46abc13
commit 519c6503a4
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -141,6 +141,7 @@ class Gateway(object):
"specVersion": self.spec_version, "specVersion": self.spec_version,
'usn': self.usn, 'usn': self.usn,
'urn': self.urn, 'urn': self.urn,
'devices': [device.as_dict() for device in self._devices]
} }
if include_xml: if include_xml:
r['xml_response'] = self.xml_response r['xml_response'] = self.xml_response