def getValue(self, key):
        """
        Some devices allow to directly get values for specific parameters.
        """
        LOG.debug("HMGeneric.getValue: address = '%s', key = '%s'" % (self._ADDRESS, key))
        try:
            returnvalue = self._proxy.getValue(self._ADDRESS, key)
            self._VALUES[key] = returnvalue
            return returnvalue
        except Exception as err:
            LOG.warning("HMGeneric.getValue: %s on %s Exception: %s", key,
                        self._ADDRESS, err)
            return False
def getValue ( self , key ) : LOG . debug ( "HMGeneric.getValue: address = '%s', key = '%s'" % ( self . _ADDRESS , key ) ) try : returnvalue = self . _proxy . getValue ( self . _ADDRESS , key ) self . _VALUES [ key ] = returnvalue return returnvalue except Exception as err : LOG . warning ( "HMGeneric.getValue: %s on %s Exception: %s" , key , self . _ADDRESS , err ) return False
Some devices allow to directly get values for specific parameters.