nothing special
This commit is contained in:
1
dist/Export.js
vendored
1
dist/Export.js
vendored
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user