Closed pseudocoder closed 2 years ago
ps this may only occur when there is a single value (not a range) for ZERO; workaround is to add that after any ranges.
this problem has been fixed in version 1.4.1, check the current code: https://github.com/HomeSeer/Plugin-SDK/blob/3bacebb4a7bf3fd27e0fd04eb252c323b7d55f06/Devices/FeatureFactory.cs#L703-L708
Thanks - I should have checked the version bundled in the sample plugin, which is 1.3.xxx
The second IF statement in this block should also check that the statusGraphic is NOT a range, otherwise the single value in a range is checked when it should be ignored.
suggest replacing with:
this also gives clear space for any future range / non-range checking.