add all existing items, homekit export
This commit is contained in:
@ -6,8 +6,8 @@ export abstract class AHomematicItem extends AItem {
|
||||
protected actionTopicPre: string;
|
||||
protected homegearTopicPre: string;
|
||||
protected hmId: number;
|
||||
constructor(floor: string, room: string, item: string, hmId: number) {
|
||||
super(floor, room, item);
|
||||
constructor(floor: string, room: string, item: string, label: string, hmId: number) {
|
||||
super(floor, room, item, label);
|
||||
this.hmId = hmId;
|
||||
this.homegearTopicPre = 'homegear/instance1';
|
||||
this.actionTopicPre = `${this.homegearTopicPre}/set/${this.hmId}`;
|
||||
|
Reference in New Issue
Block a user