message: [fix] Light command and state template typo
diff: @@ -637,8 +637,8 @@ Gateway.prototype.discoverValue = function (node, valueId) {
  cfg.discovery_payload.state_topic = this.mqtt.getTopic(topic)
  cfg.discovery_payload.brightness_state_topic = cfg.discovery_payload.state_topic
  cfg.discovery_payload.brightness_command_topic = cfg.discovery_payload.state_topic + '/set'
  - cfg.discovery_payload.state_value_template = `{{ 'off' if value_json.value == 0 else 'on }}`
  - cfg.discovery_payload.command_off_template = '{"value": 0}}'
  + cfg.discovery_payload.state_value_template = `{{ 'off' if value_json.value == 0 else 'on' }}`
  + cfg.discovery_payload.command_off_template = '{"value": 0}'
  cfg.discovery_payload.command_on_template = `{"value": ${valueId.max || 255}}`
  } else {
  return
  