add all existing items, homekit export
This commit is contained in:
@ -17,8 +17,8 @@ export class HomematicDimmerItem extends AHomematicItem {
|
||||
private brightTopic: string
|
||||
private stateTopic: string
|
||||
|
||||
constructor(floor: string, room: string, item: string, hmId: number) {
|
||||
super(floor, room, item, hmId)
|
||||
constructor(floor: string, room: string, item: string, label: string, hmId: number) {
|
||||
super(floor, room, item, label, hmId)
|
||||
this.stateTopic = `${this.topicFirstPart}/state`
|
||||
this.brightTopic = `${this.topicFirstPart}/bright`
|
||||
this.stateFeedbackTopic = `${this.topicFirstPart}/state/feedback`
|
||||
|
Reference in New Issue
Block a user