I'm having issues setting the NoLog property.....error says something about key being used already. it fails when I try to add ShowValues
Any ideas?
Any ideas?
Code:
// update device with reference data Dictionary<EProperty, object> additionalData = new Dictionary<EProperty, object>(); additionalData.Add(EProperty.Interface, Utils.Id); //Don't change this, or the device won't be associated with your plugin _hs.UpdateDeviceByRef(dvRef, additionalData); additionalData = new Dictionary<EProperty, object>(); additionalData.Add(EProperty.Misc, EMiscFlag.NoLog); //As default, we don't want to log every device value change to the log additionalData.Add(EProperty.Misc, EMiscFlag.ShowValues); //If not set, device control options will not be displayed _hs.UpdateDeviceByRef(dvRef, additionalData);
Comment