Módulo relê de 8 canais não aparece no home assistant via MQTT

Olá, estou tentando configurar um módulo relê de 8 canais via mqtt. O módulo já fez comunicação com o home assistant, confirmei pelo log, mas não aparece nas entidades.
Segue abaixo o código yaml colocado em configuration.yaml

mqtt:

  • switch:
    • name: “Molsmart Switch-1”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch1/state”
      command_topic: “home/molsmart/switch1/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-2”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch2/state”
      command_topic: “home/molsmart/switch2/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-3”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch3/state”
      command_topic: “home/molsmart/switch3/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-4”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch4/state”
      command_topic: “home/molsmart/switch4/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-5”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch5/state”
      command_topic: “home/molsmart/switch5/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-6”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch6/state”
      command_topic: “home/molsmart/switch6/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-7”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch7/state”
      command_topic: “home/molsmart/switch7/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true
    • name: “Molsmart Switch-8”
      unique_id: molsmart-relay9365384
      state_topic: “home/molsmart/switch8/state”
      command_topic: “home/molsmart/switch8/set”
      payload_on: “ON”
      payload_off: “OFF”
      state_on: “ON”
      state_off: “OFF”
      optimistic: false
      qos: 0
      retain: true

O código acima aparece sem o - e aparece com marcadores. Mas isso foi só na hora de colar o código aqui. Ele está com - no código yaml.