This feels a lot like something I struggled with in HS3. I have a bunch of features that just represent textual information, like current track, album etc. I use the below code to set the status string.
I get no errors but the status isn't showing for some features.
If you look at the picture below you see values appearing on the left ONLY for the features that have controls on the right

I have been playing with the miscflags but so far no joy. Code looks like this (for example for the track feature)
Any Ideas?
Code:
Dim df As Devices.HsFeature = myHomeSeerSystem.GetFeatureByRef(FeatureRef) Dim status As Dictionary(Of HomeSeer.PluginSdk.Devices.EProperty, Object) = New Dictionary(Of HomeSeer.PluginSdk.Devices.EProperty, Object)() status.Add(HomeSeer.PluginSdk.Devices.EProperty.Status, NewValue) myHomeSeerSystem.UpdateFeatureByRef(FeatureRef, status)
If you look at the picture below you see values appearing on the left ONLY for the features that have controls on the right
I have been playing with the miscflags but so far no joy. Code looks like this (for example for the track feature)
Code:
ff = FeatureFactory.CreateFeature(IFACE_NAME) ff.WithName("Track") ff.AsType(HomeSeer.PluginSdk.Devices.Identification.EFeatureType.Media, HomeSeer.PluginSdk.Devices.Identification.EMediaFeatureSubType.MediaTrack) ff.WithMiscFlags({EMiscFlag.StatusOnly, EMiscFlag.DeviceNoStatus, EMiscFlag.NoGraphicsDisplay}) Dim fd As NewFeatureData = ff.PrepareForHsDevice(HSDeviceRef) CreateHSFeature = myHomeSeerSystem.CreateFeatureForDevice(fd)
Comment