(self)
return ret
Return the list of conditions as JSON
Return the list of conditions as JSON
Return the list of conditions as JSON
def list_conditions(self):
        """ Return the list of conditions as JSON
        """
        ret = []
        for cid, inst in self._instances.items():
            ret.append({'cid': cid, 'name': inst['name'], 'json': inst['json'], 'disabled': inst['disabled']})
        return ret
def list_conditions ( self ) : ret = [ ] for cid , inst in self . _instances . items ( ) : ret . append ( { 'cid' : cid , 'name' : inst [ 'name' ] , 'json' : inst [ 'json' ] , 'disabled' : inst [ 'disabled' ] } ) return ret