require "zwave"

local cc = zwave.get_command_class( node_id, channel_id, cc_id )
if cc then
    print( "cc.version: " .. cc.version )
end