#NEWLINE# def set_driver( self , driver , value , uom = None , report = True ) : #NEWLINE# #INDENT# "\n        Updates the value of one of the node's drivers. This will pass the\n        given value through the driver's formatter before assignment.\n\n        :param str driver: The name of the driver\n        :param value: The new value for the driver\n        :param uom: The given values unit of measurement. This should\n                    correspond to the UOM IDs used by the ISY. Refer to the ISY\n                    documentation for more information.\n        :type uom: int or None\n        :param boolean report: Indicates if the value change should be reported\n                               to the ISY. If False, the value is changed\n                               silently.\n        :returns boolean: Indicates success or failure to set new value\n        " #NEWLINE# if ( driver in self . _drivers ) : #NEWLINE# #INDENT# clean_value = self . _drivers [ driver ] [ 2 ] ( value ) #NEWLINE# if ( clean_value != self . _drivers [ driver ] [ 0 ] ) : #NEWLINE# #INDENT# self . _drivers [ driver ] [ 0 ] = clean_value #NEWLINE# if driver : #NEWLINE# #INDENT# self . report_driver ( driver ) #NEWLINE# #UNINDENT# #UNINDENT# return True #NEWLINE# #UNINDENT# return False