iobroker-ucl 1.4.12 → 1.4.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -220,6 +220,14 @@ var HomematicWandthermostat = /** @class */ (function (_super) {
220
220
  HomematicWandthermostat.prototype.getProfile = function () {
221
221
  return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
222
222
  };
223
+ HomematicWandthermostat.prototype.isAutoModus = function () {
224
+ if (this.adapter.getState(this.baseState + ".1.SET_POINT_MODE").val != 0) {
225
+ return false;
226
+ }
227
+ else {
228
+ return true;
229
+ }
230
+ };
223
231
  return HomematicWandthermostat;
224
232
  }(AbstractHomematic));
225
233
  exports.HomematicWandthermostat = HomematicWandthermostat;
@@ -314,6 +322,14 @@ var HomematicHeizkoerper = /** @class */ (function (_super) {
314
322
  HomematicHeizkoerper.prototype.getProfile = function () {
315
323
  return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
316
324
  };
325
+ HomematicHeizkoerper.prototype.isAutoModus = function () {
326
+ if (this.adapter.getState(this.baseState + ".1.SET_POINT_MODE").val != 0) {
327
+ return false;
328
+ }
329
+ else {
330
+ return true;
331
+ }
332
+ };
317
333
  return HomematicHeizkoerper;
318
334
  }(AbstractHomematic));
319
335
  exports.HomematicHeizkoerper = HomematicHeizkoerper;
@@ -233,6 +233,14 @@ export class HomematicWandthermostat extends AbstractHomematic {
233
233
  public getProfile() : number {
234
234
  return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
235
235
  }
236
+
237
+ public isAutoModus() : boolean {
238
+ if (this.adapter.getState(this.baseState + ".1.SET_POINT_MODE").val != 0) {
239
+ return false;
240
+ } else {
241
+ return true;
242
+ }
243
+ }
236
244
  }
237
245
 
238
246
  export class HomematicPraesenzmelder extends AbstractHomematic {
@@ -332,6 +340,14 @@ export class HomematicHeizkoerper extends AbstractHomematic {
332
340
  public getProfile() : number {
333
341
  return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
334
342
  }
343
+
344
+ public isAutoModus() : boolean {
345
+ if (this.adapter.getState(this.baseState + ".1.SET_POINT_MODE").val != 0) {
346
+ return false;
347
+ } else {
348
+ return true;
349
+ }
350
+ }
335
351
  }
336
352
 
337
353
  export class DimmerAlexaScheme {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker-ucl",
3
- "version": "1.4.12",
3
+ "version": "1.4.13",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",