Products

DeviceVSP_PairsProtected

To check to see whether the device Value/Status pairs are protected, which applies to devices owned by plug-ins, use this function:


Function DeviceVSP_PairsProtected(ByVal dvRef As Integer) As Boolean


PStatus = hs.DeviceVSP_PairsProtected(ref)

Where:

ref= device reference #

You can check the return value (Boolean) to determine if the pairs are protected from editing in the HomeSeer UI by the user.