Returns the current version of HomeSeer Plug-In API Interface. This procedure is called by plug-ins to determine the capability level of the interface it is working with.
None.
Return value: version
Type: integer (.NET Short)
sub main()
hs.WriteLog "Info","The API interface version of HomeSeer is " & CStr(hs.InterfaceVersion)
end sub