#NEWLINE# def report_command( self , node_address , command , value = None , uom = None , **kwargs ) : #NEWLINE# #INDENT# "\n        Sends a command to the ISY that may be used in programs and/or scenes.\n        A common use of this is a physical switch that somebody turns on or\n        off. Each time the switch is used, a command should be reported to the\n        ISY. These are used for scenes and control conditions in ISY programs.\n\n        :param str node_address: The full address of the node (e.g. 'switch_1)\n        :param str command: The command to perform (e.g. 'DON', 'CLISPH', etc.)\n        :param value: Optional unnamed value the command used\n        :type value: str, int, or float\n        :param uom: Optional units of measurement of value\n        :type uom: int or str\n        :param optional <pN>.<uomN>: Nth Parameter name (e.g. 'level') . Unit\n                                     of measure of the Nth parameter\n                                     (e.g. 'seconds', 'uom58')\n        " #NEWLINE# kwargs . update ( { #NEWLINE# #INDENT# 'node_address' : node_address , #NEWLINE# 'command' : command , #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# kwargs [ 'value' ] = value #NEWLINE# #UNINDENT# if ( uom is not None ) : #NEWLINE# #INDENT# kwargs [ 'uom' ] = uom #NEWLINE# #UNINDENT# self . _mk_cmd ( 'command' , ** kwargs )