iobroker-ucl 1.4.19 → 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/homematicFunctions.js +5 -0
- package/homematicFunctions.ts +5 -0
- 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
|
|
package/homematicFunctions.js
CHANGED
@@ -896,6 +896,10 @@ function loadHomematicDevicesAll(adapter) {
|
|
896
896
|
// @ts-ignore
|
897
897
|
homematicAllArray.push(homematic);
|
898
898
|
});
|
899
|
+
adapter.loadHomematicHeizkoerpergruppe(adapter).forEach(function (homematic) {
|
900
|
+
// @ts-ignore
|
901
|
+
homematicAllArray.push(homematic);
|
902
|
+
});
|
899
903
|
adapter.loadHomematicDimmer(adapter).forEach(function (homematic) {
|
900
904
|
// @ts-ignore
|
901
905
|
homematicAllArray.push(homematic);
|
@@ -916,6 +920,7 @@ function clearHomematicCaches(adapter) {
|
|
916
920
|
//homematicAllArray = null;
|
917
921
|
cacheDimmerArray = null;
|
918
922
|
cacheHeizkoerperArray = null;
|
923
|
+
cacheHeizkoerpergruppeArray = null;
|
919
924
|
cacheSteckdosenArray = null;
|
920
925
|
cacheWindowsArray = null;
|
921
926
|
cacheFunkschaltaktorenArray = null;
|
package/homematicFunctions.ts
CHANGED
@@ -974,6 +974,10 @@ export function loadHomematicDevicesAll(adapter: any) {
|
|
974
974
|
// @ts-ignore
|
975
975
|
homematicAllArray.push(homematic);
|
976
976
|
});
|
977
|
+
adapter.loadHomematicHeizkoerpergruppe(adapter).forEach(homematic => {
|
978
|
+
// @ts-ignore
|
979
|
+
homematicAllArray.push(homematic);
|
980
|
+
});
|
977
981
|
adapter.loadHomematicDimmer(adapter).forEach(homematic => {
|
978
982
|
// @ts-ignore
|
979
983
|
homematicAllArray.push(homematic);
|
@@ -995,6 +999,7 @@ function clearHomematicCaches(adapter: any) {
|
|
995
999
|
//homematicAllArray = null;
|
996
1000
|
cacheDimmerArray = null;
|
997
1001
|
cacheHeizkoerperArray = null;
|
1002
|
+
cacheHeizkoerpergruppeArray = null;
|
998
1003
|
cacheSteckdosenArray = null;
|
999
1004
|
cacheWindowsArray = null;
|
1000
1005
|
cacheFunkschaltaktorenArray = null;
|