Skip to content

Commit

Permalink
Merge pull request #94 from bolliy/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
bolliy authored Jun 26, 2024
2 parents da8d20a + 18815a6 commit 85a3ef4
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 49 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ browse in the [wiki](https://github.com/bolliy/ioBroker.sun2000/wiki)
### **WORK IN PROGRESS**
-->

* add a donation link in the adapter settings
* dependency updates

### 0.10.0 (2024-06-14)
* dependency and configuration updates
* adjust roles in the control path
Expand Down
2 changes: 1 addition & 1 deletion lib/drivers/driver_inverter.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ class InverterSun2000 extends DriverBase{
let state = this.stateCache.get(path+'battery.unit.1.SN');
if (state && state?.value !== '') this.deviceInfo.numberBatteryUnits = 1;
state = this.stateCache.get(path+'battery.unit.2.SN');
if (state && state?.value !== '') this.deviceInfo.numberBatteryUnits += 1;
if (state && state?.value !== '') this.deviceInfo.numberBatteryUnits = 2;
}
},
{
Expand Down
100 changes: 56 additions & 44 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
},
"devDependencies": {
"@alcalzone/release-script": "^3.7.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.1",
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@alcalzone/release-script-plugin-manual-review": "^3.7.0",
"@iobroker/adapter-dev": "^1.3.0",
"@iobroker/testing": "^4.1.3",
"@tsconfig/node16": "^16.1.3",
"@types/chai": "^4.3.16",
"@types/chai-as-promised": "^7.1.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.14.2",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.9",
"@types/proxyquire": "^1.3.31",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.2",
"eslint": "^8.57.0",
"mocha": "^10.4.0",
"mocha": "^10.5.1",
"proxyquire": "^2.1.3",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0",
Expand Down

0 comments on commit 85a3ef4

Please sign in to comment.