This commit is contained in:
Koen Kanters
2019-02-26 20:53:30 +01:00
parent cd2fb54615
commit 8f0794cb8f
+1
View File
@@ -123,6 +123,7 @@ class DevicePublish {
msg[_key] = converted.cmd.toUpperCase();
} else if (brightnessConverters.includes(converter)) {
msg[_key] = 'ON';
msg['brightness'] = converted.zclData.level;
}
this.publishEntityState(entity.ID, msg, true);