add all existing items, homekit export
This commit is contained in:
@ -33,7 +33,7 @@ export class HomematicFourButtonThing extends AHomematicItem {
|
||||
private itemObjs: HomematicFourButtonSingleItem[]
|
||||
|
||||
constructor(floor: string, room: string, item: string, hmId: number, itemObjs: HomematicFourButtonSingleItem[]) {
|
||||
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