Skip to content

Commit

Permalink
remove unneeded error message
Browse files Browse the repository at this point in the history
  • Loading branch information
DutchmanNL committed Oct 2, 2023
1 parent de8bd00 commit fef749b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ When the adapter crashes or another Code error happens, this error message that
Placeholder for the next version (at the beginning of the line):
### __WORK IN PROGRESS__
-->
### 0.7.0 (2023-07-25)
### 0.7.1 (2023-07-25)
* several fixes by [HaggardFFM](https://github.com/HaggardFFM) fixes #479, #423
* (DutchmanNL) missing state attribute definitions added
* implement white color channel by [HaggardFFM](https://github.com/HaggardFFM), fixes #306, #306
* (DutchmanNL) Removed error message if definitions are missing, no impact on functionality

### 0.6.7 (2022-06-08) - Bugfix [#400](https://github.com/DrozmotiX/ioBroker.wled/issues/400)
* (DutchmanNL) Bugfix: Cannot read property 'initialized' of undefined handleStates solved [#400](https://github.com/DrozmotiX/ioBroker.wled/issues/400)
Expand Down
4 changes: 2 additions & 2 deletions io-package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"common": {
"name": "wled",
"version": "0.7.0",
"version": "0.7.1",
"news": {
"0.7.0": {
"0.7.1": {
"en": "White color channel implemented, bugfixes",
"de": "Weißer Farbkanal implementiert, Bugfixes",
"ru": "Реализован канал белого цвета, исправления",
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ class Wled extends utils.Adapter {
this.log.debug('Naming : ' + x + ' with content : ' + JSON.stringify(deviceStates[i][y][x][0]));

// Translate RGB values to HEX
//added additional Alpha channel, necessary if WLED is setup for RGBW Stripes.
//added additional Alpha channel, necessary if WLED is setup for RGBW Stripes.
//so on normal RGB Stripes Hex has 6 digits on RGBW Stripes Hex as 8 digits. The 2 additional digits for the white channel slider
const primaryRGB = deviceStates[i][y][x][0].toString().split(',');
const primaryHex = rgbHex(parseInt(primaryRGB[0]), parseInt(primaryRGB[1]), parseInt(primaryRGB[2]),isNaN(parseInt(primaryRGB[3]) /255) ? undefined : parseInt(primaryRGB[3]) /255);
Expand Down Expand Up @@ -1008,7 +1008,7 @@ class Wled extends utils.Adapter {
if (!stateAttr[name]) {
const warnMessage = `State attribute definition missing for : ${name}`;
if (warnMessages[name] !== warnMessage) {
this.log.warn(`State attribute definition missing for : ${name} with value : ${value}`);
this.log.debug(`State attribute definition missing for : ${name} with value : ${value}`);
}
}

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iobroker.wled",
"version": "0.7.0",
"version": "0.7.1",
"description": "A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812, APA102) LEDs!",
"author": {
"name": "DutchmanNL",
Expand Down

0 comments on commit fef749b

Please sign in to comment.