Skip to content

Commit

Permalink
* (Apollon77) corrects a wrong type definition for state alarmEventTi…
Browse files Browse the repository at this point in the history
…mestamp
  • Loading branch information
Apollon77 committed Jun 4, 2021
1 parent 3e3d7ae commit de08d71
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ https://github.com/ioBroker/AdapterRequests/issues/62

## Changelog

### __WORK IN PROGRESS__
* (Apollon77) Fix a warning in js-controller 3.3

### 1.12.1 (2021-05-13)
* (Apollon77) Fix a warning in js-controller 3.3

Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2277,7 +2277,7 @@ class HmIpCloudAccesspointAdapter extends utils.Adapter {
promises.push(this.extendObjectAsync('homes.' + home.id + '.weather.windSpeed', { type: 'state', common: { name: 'windSpeed', type: 'number', role: 'value.speed.wind', unit: 'km/h', read: true, write: false }, native: {} }));
promises.push(this.extendObjectAsync('homes.' + home.id + '.weather.windDirection', { type: 'state', common: { name: 'windDirection', type: 'number', role: 'value.direction.wind',unit: '°', read: true, write: false }, native: {} }));

promises.push(this.extendObjectAsync('homes.' + home.id + '.functionalHomes.securityAndAlarm.alarmEventTimestamp', { type: 'state', common: { name: 'alarmEventTimestamp', type: 'string', role: 'text', read: true, write: false }, native: {} }));
promises.push(this.extendObjectAsync('homes.' + home.id + '.functionalHomes.securityAndAlarm.alarmEventTimestamp', { type: 'state', common: { name: 'alarmEventTimestamp', type: 'number', role: 'value', read: true, write: false }, native: {} }));
promises.push(this.extendObjectAsync('homes.' + home.id + '.functionalHomes.securityAndAlarm.alarmEventDeviceId', { type: 'state', common: { name: 'alarmEventDeviceId', type: 'string', role: 'text', read: true, write: false }, native: {} }));
promises.push(this.extendObjectAsync('homes.' + home.id + '.functionalHomes.securityAndAlarm.alarmEventTriggerId', { type: 'state', common: { name: 'alarmEventTriggerId', type: 'string', role: 'text', read: true, write: false }, native: {} }));
promises.push(this.extendObjectAsync('homes.' + home.id + '.functionalHomes.securityAndAlarm.alarmEventDeviceChannel', { type: 'state', common: { name: 'alarmEventDeviceChannel', type: 'string', role: 'text', read: true, write: false }, native: {} }));
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"node": ">=8.6.0"
},
"dependencies": {
"@iobroker/adapter-core": "^2.4.0",
"@iobroker/adapter-core": "^2.5.0",
"delay": "^5.0.0",
"js-sha512": "^0.8.0",
"request-promise-native": "^1.0.9",
Expand Down

0 comments on commit de08d71

Please sign in to comment.