Open tenholde opened 1 year ago
The GetControlsForUse, GetFirstControlForUse, and HasControlForUse methods were added in version 1.4.2.0 https://homeseer.github.io/Plugin-SDK-Docs/release_notes/pluginsdk_releasenotes_1_4_2_0.html
Thanks, I missed that. New functions work fine, but what I was looking for is an easy way to say, for instance, turn a light on.
Something like: hs.SendControlForUse(174,EControlUse.On) to turn ON DevRef 174
Best I've been able to figure out is:
hs.SendControlForFeatureByValue(174, hs.GetFeatureByRef(174).GetFirstControlForUse(Controls.EControlUse.Off).TargetValue)
Additionally, is there some way to just send a control to a plugin for execution? Something like hs.SendControl(StatusControl)
I closed issue #185 on March 7 as there was a promised fix in version 1.5.
Is there a timeframe for releasing v1.5 (or have I missed it?)
This was being tracked internally as PSDK-264
Thank you.