message: fix: Template value
diff: @@ -641,7 +641,7 @@ Gateway.prototype.publishDiscovery = function (hassDevice, nodeId, deleteDevice,
  if (this.config.payloadType === 2) { // Payload is set to "Just Value"
  var p = hassDevice.discovery_payload
  - var template = 'value' + (p.hasOwnProperty('payload_on') && p.hasOwnProperty('payload_off') ? ' | bool' : '')
  + var template = 'value' + (p.hasOwnProperty('payload_on') && p.hasOwnProperty('payload_off') ? ' == \'true\'' : '')
  for (const k in p) {
  if (typeof p[k] === 'string') {
  