iobroker-ucl 1.4.11 → 1.4.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -217,6 +217,9 @@ var HomematicWandthermostat = /** @class */ (function (_super) {
217
217
  HomematicWandthermostat.prototype.isStatusBattery = function () {
218
218
  return !this.adapter.getState(this.baseState + ".0.LOW_BAT").val; // // hm-rpc.0.000A9BE993E2F7.0.LOW_BAT
219
219
  };
220
+ HomematicWandthermostat.prototype.getProfile = function () {
221
+ return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
222
+ };
220
223
  return HomematicWandthermostat;
221
224
  }(AbstractHomematic));
222
225
  exports.HomematicWandthermostat = HomematicWandthermostat;
@@ -308,6 +311,9 @@ var HomematicHeizkoerper = /** @class */ (function (_super) {
308
311
  HomematicHeizkoerper.prototype.isStatusBattery = function () {
309
312
  return !this.adapter.getState(this.baseState + ".0.LOW_BAT").val; // // hm-rpc.0.000A9BE993E2F7.0.LOW_BAT
310
313
  };
314
+ HomematicHeizkoerper.prototype.getProfile = function () {
315
+ return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
316
+ };
311
317
  return HomematicHeizkoerper;
312
318
  }(AbstractHomematic));
313
319
  exports.HomematicHeizkoerper = HomematicHeizkoerper;
@@ -229,6 +229,10 @@ export class HomematicWandthermostat extends AbstractHomematic {
229
229
  public isStatusBattery(): boolean {
230
230
  return !this.adapter.getState(this.baseState + ".0.LOW_BAT").val; // // hm-rpc.0.000A9BE993E2F7.0.LOW_BAT
231
231
  }
232
+
233
+ public getProfile() : number {
234
+ return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
235
+ }
232
236
  }
233
237
 
234
238
  export class HomematicPraesenzmelder extends AbstractHomematic {
@@ -324,6 +328,10 @@ export class HomematicHeizkoerper extends AbstractHomematic {
324
328
  public isStatusBattery(): boolean {
325
329
  return !this.adapter.getState(this.baseState + ".0.LOW_BAT").val; // // hm-rpc.0.000A9BE993E2F7.0.LOW_BAT
326
330
  }
331
+
332
+ public getProfile() : number {
333
+ return this.adapter.getState(this.baseState + ".1.ACTIVE_PROFILE").val;
334
+ }
327
335
  }
328
336
 
329
337
  export class DimmerAlexaScheme {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker-ucl",
3
- "version": "1.4.11",
3
+ "version": "1.4.12",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "build": "tsc --build",