export again
This commit is contained in:
2
dist/Export.js
vendored
2
dist/Export.js
vendored
@ -39,7 +39,7 @@ function RelayBoxHomekitExport(itemId, stateTopicPre, feedbackTopicPre, conflict
|
||||
function RelayBoxOpenHABExport(itemId, stateTopicPre, feedbackTopicPre, conflictTopicPre, itemNames) {
|
||||
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} "${label}" {mqtt=">[localbroker:${stateTopicPre}/${index}:command:*:default],<[localbroker:${feedbackTopicPre}/${index}:state:default]"}`);
|
||||
});
|
||||
return o;
|
||||
}
|
||||
|
Reference in New Issue
Block a user