bright is number

This commit is contained in:
Wolfgang Hottgenroth
2018-01-02 22:12:55 +01:00
parent 0bcc75f53f
commit 23fab8d33c

View File

@ -47,8 +47,8 @@ class HomematicDimmerItem extends AHomematicItem {
this.dimmerAction();
break;
case this.brightTopic:
this.bright = payload;
mqtt.send(this.brightFeedbackTopic, this.bright);
this.bright = parseInt(payload);
mqtt.send(this.brightFeedbackTopic, `${this.bright}`);
this.dimmerAction();
break;
case this.errorOverheatTopic: