Skip to content

Commit

Permalink
fixed #12
Browse files Browse the repository at this point in the history
  • Loading branch information
windka committed Sep 15, 2023
1 parent 2ab2c1e commit f0e260a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.16.0] [2023-09-15]
### breaking change in API: data is now data/aggregated - [#12](https://github.com/windkh/node-red-contrib-grohe-sense/issues/12)

## [0.15.1] [2023-03-17]
### fixed - [#11](https://github.com/windkh/node-red-contrib-grohe-sense/issues/11)

Expand Down
2 changes: 1 addition & 1 deletion grohe/ondusApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class OndusSession {
}

getApplianceData(locationId, roomId, applianceId, fromDate, toDate) {
let url = apiUrl + '/locations/' + locationId + '/rooms/' + roomId + '/appliances/' + applianceId + '/data';
let url = apiUrl + '/locations/' + locationId + '/rooms/' + roomId + '/appliances/' + applianceId + '/data/aggregated';
if (fromDate) {
const fromStr = this.getDateTimeString(fromDate);
url += `?from=${fromStr}`;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-grohe-sense",
"version": "0.15.1",
"version": "0.16.0",
"description": "Grohe sense nodes via ondus API.",
"node-red": {
"version": ">=0.1.0",
Expand Down

0 comments on commit f0e260a

Please sign in to comment.