Skip to content

Commit

Permalink
fixed ci errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Weber committed Nov 17, 2024
1 parent ee892a3 commit ae68a42
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
run: npm ci --verbose
- uses: ioBroker/testing-action-deploy@v1
with:
node-version: "14.x"
node-version: "18.x"
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
# # When using Sentry for error reporting, Sentry can be informed about new releases
Expand Down
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ class Uvr16xxBlNet extends utils.Adapter {

/**
* Parses the UVR record from the given response.
*
*
* @param {Uint8Array} response - The response data to parse.
* @returns {Object} The parsed UVR record.
* @property {Object} outputs - The outputs status.
Expand Down Expand Up @@ -458,7 +458,7 @@ class Uvr16xxBlNet extends utils.Adapter {

// Inputs
for (let i = 0; i < 16; i++) {
uvrRecord.inputs[`S${(i + 1).toString().padStart(2, '0')}`] = this.byte2short(response[i * 2 + 1], response[i * 2 + 2]);
uvrRecord.inputs[`S${(i + 1).toString().padStart(2, "0")}`] = this.byte2short(response[i * 2 + 1], response[i * 2 + 2]);
}

// Log inputs
Expand Down Expand Up @@ -535,7 +535,7 @@ class Uvr16xxBlNet extends utils.Adapter {

/**
* Converts four bytes into a 32-bit integer.
*
*
* @param {number} lo_lo - The least significant byte.
* @param {number} lo_hi - The second least significant byte.
* @param {number} hi_lo - The third least significant byte.
Expand All @@ -548,7 +548,7 @@ class Uvr16xxBlNet extends utils.Adapter {

/**
* Cleans up resources when the adapter is unloaded.
*
*
* @param {Function} callback - The callback function to call after cleanup.
* @throws Will call the callback function in case of an error.
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"url": "https://github.com/weberk/ioBroker.uvr16xx-blnet.git"
},
"engines": {
"node": ">= 20"
"node": ">= 18"
},
"dependencies": {
"@iobroker/adapter-core": "^3.2.2"
Expand Down

0 comments on commit ae68a42

Please sign in to comment.