def search(self, _limiter=None, _operation=None, **kwargs):
        """
        Search for device type based on attributes for all device types.

        :param limiter_override: Default: .89 - A value between .5 and .99. Sets how close of a match it the search should be.
        :type limiter_override: float
        :return: 
        """
        return search_instance(kwargs, self.device_types,
                               self.device_type_search_attributes, _limiter,
                               _operation)
Exemple #2
0
    def search(self, _limiter=None, _operation=None, **kwargs):
        """
        Advanced search, typically should use the :py:meth:`get <yombo.lib.commands.Commands.get>` method. 

        :param limiter_override: Default: .89 - A value between .5 and .99. Sets how close of a match it the search should be.
        :type limiter_override: float
        :param status: Deafult: 1 - The status of the command to check for.
        :return: 
        """
        return search_instance(kwargs, self.commands,
                               self.command_search_attributes, _limiter,
                               _operation)
Exemple #3
0
    def search(self, _limiter=None, _operation=None, **kwargs):
        """
        Search for input type based on attributes for all input types.

        :param limiter_override: Default: .89 - A value between .5 and .99. Sets how close of a match it the search should be.
        :type limiter_override: float
        :param status: Deafult: 1 - The status of the input type to check for.
        :return: 
        """
        return search_instance(kwargs, self.input_types,
                               self.input_type_search_attributes, _limiter,
                               _operation)