configure scenes

This commit is contained in:
Wolfgang Hottgenroth
2018-01-11 16:48:18 +01:00
parent 402603c376
commit 5eac6dfab6
6 changed files with 118 additions and 69 deletions

2
dist/Scene.js vendored
View File

@ -34,7 +34,7 @@ class LightScene extends AItem_1.AItem {
this.myLastFeedbackState = '-';
}
exportItem() {
return Export_1.SwitchExport(this.itemId, this.label, this.stateTopic, this.stateFeedbackTopic, 'Switch');
return Export_1.SwitchExport(this.itemId, this.label, this.stateTopic, this.stateFeedbackTopic, 'bulb');
}
processMessage(topic, payload) {
if (topic == this.stateTopic) {