add all existing items, homekit export
This commit is contained in:
2
dist/HomematicFourButtonThing.js
vendored
2
dist/HomematicFourButtonThing.js
vendored
@ -28,7 +28,7 @@ class HomematicFourButtonSingleItem {
|
||||
exports.HomematicFourButtonSingleItem = HomematicFourButtonSingleItem;
|
||||
class HomematicFourButtonThing extends AHomematicItem_1.AHomematicItem {
|
||||
constructor(floor, room, item, hmId, itemObjs) {
|
||||
super(floor, room, item, hmId);
|
||||
super(floor, room, item, '', hmId);
|
||||
this.itemObjs = itemObjs;
|
||||
if (this.itemObjs.length != 4) {
|
||||
throw new Error('itemObjs for HomematicFourButtonThing must have four elements');
|
||||
|
Reference in New Issue
Block a user