Difference between revisions of "Zwave Object"

From Hubitat Documentation
Jump to: navigation, search
(getCommand)
Line 5: Line 5:
  
 
=== <code>getCommand</code> ===
 
=== <code>getCommand</code> ===
getCommand description here
+
Returns a zwave object given the commandClass, command and an optional version.
  
 
'''Signature'''
 
'''Signature'''

Revision as of 17:34, 11 January 2019

Description

Description goes here

Methods

getCommand

Returns a zwave object given the commandClass, command and an optional version.

Signature

Command getCommand(Short commandClass, Short command, List<Short> payload, Integer version = null)

Parameters

commandClass - TODO
TODO

Returns

Command - TODO

Example

//TODO
int i = 5
def hexStr = hubitat.helper.HexUtils.integerToHexString(i, 1)