node-red-contrib-dmx-for-ha 0.6.13 → 0.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,7 +210,7 @@ module.exports = function (RED) {
210
210
  return S.minOutput;
211
211
  }
212
212
  // DMX floor — snap up if above 0 but below hardware stable threshold
213
- if (gamma > 0 && gamma < S.dmxFloor) return S.dmxFloor;
213
+ if (colorValue > 0 && gamma < S.dmxFloor) return S.dmxFloor;
214
214
  // Note: ceiling is handled by S.dmxLimiter in scaleToDmx above
215
215
  return gamma;
216
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-dmx-for-ha",
3
- "version": "0.6.13",
3
+ "version": "0.6.14",
4
4
  "description": "DMX lighting control for Home Assistant via Node-RED and MQTT. Place a node, fill in the settings, deploy. Full HA device registry integration with RGBW/RGBWW/CCT/brightness colour modes, transitions, effects, and group control.",
5
5
  "keywords": [
6
6
  "node-red",