def SaveXml(self, p_xml): l_xml = rulesXML.write_rules_xml(self.m_pyhouse_obj) p_xml.append(l_xml) LOG.info("Saved Rules XML.") return p_xml
def LoadXml(self, p_pyhouse_obj): """ Load the Mqtt xml info. """ l_rules = rulesXML.read_rules_xml(self.m_pyhouse_obj) return l_rules