nothing special

This commit is contained in:
Wolfgang Hottgenroth
2018-04-05 22:36:19 +02:00
parent b9ac97f2df
commit 9db2aebf09
2 changed files with 7 additions and 3 deletions

1
dist/Export.js vendored
View File

@ -40,6 +40,7 @@ function RelayBoxOpenHABExport(itemId, stateTopicPre, feedbackTopicPre, conflict
let o = [];
itemNames.forEach((label, index) => {
o.push(`Switch ${itemId}${index} "${label}" {mqtt=">[localbroker:${stateTopicPre}/${index}:command:*:default],<[localbroker:${feedbackTopicPre}/${index}:state:default]"}`);
o.push(`Switch ${itemId}${index}Conflict "${label} [%s]" {mqtt="<[localbroker:${conflictTopicPre}/${index}:state:default]"}`);
});
return o;
}