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

updatefeaturevaluebyref missmatch return type between SDK and HS4 object #53

Closed mcsSolutions closed 4 years ago

mcsSolutions commented 4 years ago

https://forums.homeseer.com/forum/developer-support/hs4-development-private/hs4-bugs/1342495-updatefeaturevaluebyref

jldubz commented 4 years ago

The inline documentation is usually the most up to date and should be referenced when in doubt:

        /// <summary>
        /// Set the value on a feature and trigger HomeSeer to process the update to update the status accordingly.
        /// <para>
        /// To update the value without triggering HomeSeer to process the update, call
        ///  <see cref="UpdatePropertyByRef"/>
        /// </para>
        /// </summary>
        /// <remarks>
        /// This is the same as the legacy method SetDeviceValueByRef(Integer, Double, True).
        /// </remarks>
        /// <param name="featRef">The unique reference of the feature to control</param>
        /// <param name="value">The new value to set on the feature</param>
        /// <returns>TRUE if the control sent correctly, FALSE if there was a problem</returns>

https://github.com/HomeSeer/Plugin-SDK/blob/master/IHsController.cs#L354