Skip to content

Commit

Permalink
Merge pull request #840 from Black-Thunder/dev
Browse files Browse the repository at this point in the history
Merge dev
  • Loading branch information
Black-Thunder authored Dec 11, 2024
2 parents b315342 + 655594c commit 2abb3a3
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ Discussion:
Placeholder for the next version (at the beginning of the line):
### __WORK IN PROGRESS__
-->

### **WORK IN PROGRESS**

- (Black-Thunder) Report data for ATW devices was fixed

### 2.0.4 (2024-11-04)

- (Black-Thunder) Responsive design for settings dialog was added
Expand Down
16 changes: 16 additions & 0 deletions lib/melcloudAtwDevice.js
Original file line number Diff line number Diff line change
Expand Up @@ -883,6 +883,22 @@ class MelcloudAtwDevice {
},
native: {}
});

gthat.extendObjectAsync(lastReportDataPrefix + commonDefines.CommonDeviceStateIDs.TotalPowerProductionPrefix + mode, {
type: "state",
common: {
name: `Total power production for mode '${mode}'`,
type: "number",
role: "value.power.consumption",
min: 0,
read: true,
write: false,
unit: "kWh",
def: 0,
desc: `Total power production for mode '${mode}'`
},
native: {}
});
});

gthat.extendObjectAsync(lastReportDataPrefix + commonDefines.CommonDeviceStateIDs.TotalPowerConsumptionPrefix, {
Expand Down

0 comments on commit 2abb3a3

Please sign in to comment.