Skip to content

Commit

Permalink
Bug fix beta.2
Browse files Browse the repository at this point in the history
- Fixed problem with 0 pv bringing up an error.
- Fixed problem with states not updating.
  • Loading branch information
K1LL3R234 committed Oct 11, 2024
1 parent 31ea12c commit 1710856
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This change log documents all release versions of homebridge-texecom

### 1.0.4-beta.2 (2024-10-11)
- **BUG** - Fixed problem with 0 pv bringing up an error.
- Fixed problem with states not updating.

### 1.0.4-beta.1 (2024-10-11)

- **FEATURE** - Moved the SOC and charging under humidity sensor to be used for automations.
Expand Down
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,19 @@ SunsynkPlatform.prototype = {

var allacc = [];

var cur_pw = { "name": "Current Power W", "type": "pv" };
var cur_pw = { "name": "Current PV Power W", "type": "pv" };
var acc = new SunsynkAccessory(this.log, cur_pw);
allacc.push(acc);
var today_pw = { "name": "Today Electricity kWh", "type": "pv" };
var today_pw = { "name": "Today PV Electricity kWh", "type": "pv" };
var acc = new SunsynkAccessory(this.log, today_pw);
allacc.push(acc);
var month_pw = { "name": "Month Electricity kWh", "type": "pv" };
var month_pw = { "name": "Month PV Electricity kWh", "type": "pv" };
var acc = new SunsynkAccessory(this.log, month_pw);
allacc.push(acc);
var year_pw = { "name": "Year Electricity kWh", "type": "pv" };
var year_pw = { "name": "Year PV Electricity kWh", "type": "pv" };
var acc = new SunsynkAccessory(this.log, year_pw);
allacc.push(acc);
var total_pw = { "name": "Total Electricity kWh", "type": "pv" };
var total_pw = { "name": "Total PV Electricity kWh", "type": "pv" };
var acc = new SunsynkAccessory(this.log, total_pw);
allacc.push(acc);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"displayName": "Homebridge Sunsynk",
"name": "homebridge-sunsynk",
"description": "A plugin for homebridge (https://github.com/nfarina/homebridge) to integrate Sunsynk inverter into HomeKit",
"version": "1.0.4-beta.1",
"version": "1.0.4-beta.2",
"author": {
"name": "Chris Posthumus",
"email": "[email protected]"
Expand Down

0 comments on commit 1710856

Please sign in to comment.