iobroker-ucl 1.4.20 → 1.4.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/homematicClasses.js +2 -2
- package/homematicClasses.ts +2 -2
- package/package.json +1 -1
package/homematicClasses.js
CHANGED
@@ -388,8 +388,8 @@ var HomematicHeizkoerpergruppe = /** @class */ (function (_super) {
|
|
388
388
|
HomematicHeizkoerpergruppe.prototype.getDeviceId = function () {
|
389
389
|
return "HG" + this.id.toString().padStart(3, '0');
|
390
390
|
};
|
391
|
-
HomematicHeizkoerpergruppe.prototype.switchToProfil = function (profileIndex) {
|
392
|
-
this.adapter.sendTo('hm-rpc.
|
391
|
+
HomematicHeizkoerpergruppe.prototype.switchToProfil = function (adapterInstanceIndex, profileIndex) {
|
392
|
+
this.adapter.sendTo('hm-rpc.' + adapterInstanceIndex, 'setValue', { ID: this.getBaseStateShort() + ":1", paramType: 'ACTIVE_PROFILE', params: profileIndex }, function (res) {
|
393
393
|
});
|
394
394
|
};
|
395
395
|
HomematicHeizkoerpergruppe.prototype.getOeffnungsgrad = function () {
|
package/homematicClasses.ts
CHANGED
@@ -415,8 +415,8 @@ class HomematicHeizkoerpergruppe extends AbstractHomematic {
|
|
415
415
|
return "HG" + this.id.toString().padStart(3, '0');
|
416
416
|
}
|
417
417
|
|
418
|
-
public switchToProfil(profileIndex) {
|
419
|
-
this.adapter.sendTo('hm-rpc.
|
418
|
+
public switchToProfil(adapterInstanceIndex, profileIndex) {
|
419
|
+
this.adapter.sendTo('hm-rpc.' + adapterInstanceIndex, 'setValue', {ID: this.getBaseStateShort() + ":1", paramType: 'ACTIVE_PROFILE', params: profileIndex}, res => {
|
420
420
|
});
|
421
421
|
}
|
422
422
|
|