@caseywebb/growhaus
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.3.1](https://github.com/caseyWebb/growhaus/compare/v1.3.0...v1.3.1) (2020-05-05) | ||
### Bug Fixes | ||
* limit dimming to 10% minimum for hardware preservation ([cc8b945](https://github.com/caseyWebb/growhaus/commit/cc8b945fefc5d3fe6554b50d35702cb0b484c7ab)) | ||
## [1.3.0](https://github.com/caseyWebb/growhaus/compare/v1.2.2...v1.3.0) (2020-05-05) | ||
@@ -7,0 +14,0 @@ |
@@ -30,3 +30,3 @@ "use strict"; | ||
await this.ready; | ||
intensity = Math.min(Math.max(intensity, 0), 255); | ||
intensity = Math.min(Math.max(intensity, 26), 255); // Meanwell drivers not intended to be dimmed below 10% | ||
logger_1.log(`Setting brightness to ${intensity}`); | ||
@@ -33,0 +33,0 @@ this.led.on(); |
{ | ||
"name": "@caseywebb/growhaus", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"license": "WTFPL", | ||
@@ -5,0 +5,0 @@ "bin": "./bin/growhaus", |
17125