HomeSeer / Plugin-SDK

Plugin development kit for the 4th major edition of the HomeSeer platform.
https://www.nuget.org/packages/HomeSeer-PluginSDK/
GNU Affero General Public License v3.0
20 stars 4 forks source link

HsFeature.HasControlForValue Method always returns false #93

Closed Enigmatheatre closed 4 years ago

Enigmatheatre commented 4 years ago

Environment and System Config

Describe the issue HsFeature.HasControlForValue Method always returns false.

Steps to Reproduce Steps to reproduce the behaviour: Dim Feat As HomeSeer.PluginSdk.Devices.HsFeature Feat = hs4.GetFeatureByRef(331) Console.WriteLine("Feat.HasControlForValue(1) = " & Feat.HasControlForValue(1))

Returns: Feat.HasControlForValue(1) = false

See screenshot of the device 331below

Expected behaviour I would expect it to return true because there is a Status/Control


Screenshots image

spudwebb commented 4 years ago

I have reproduced this bug, and I have proposed a fix in the SDK. It should be included in the next release.

Enigmatheatre commented 4 years ago

Spud, Any update on this as it is causing a part of my HS4 plugin not to function the way it did in HS3 unless you have another way to do this?

spudwebb commented 4 years ago

The fix is planed to be included in PluginSdk version 1.2.0.0, but I don; t know when it will be released.

spudwebb commented 4 years ago

version 1.2.0.0. is now released and includes the fix. I think this issue can be closed.

Enigmatheatre commented 4 years ago

I can confirm this is now functioning for me.