HA + Garage + Tasmota(d1-mini) + reed switch

Dear, I just set up the tasmota (fork sanoff) on a wemos d1 mini creating two controls:

  • Relay for driving the garage control knob
    • stat / d1-mini-02 / POWER1
  • Reed switch to control whether it is open or closed.
    • stat / d1-mini-02 / POWER2

note:
I have an HA and server mqqt (mosquitto)

I tried the following configuration:

configuration.yaml
cover:! include covers.yaml

covers.yaml

  • platform: mqtt
    name: “test”
    state_topic: “cmnd / d1-mini-02 / POWER2”
    command_topic: “cmnd / d1-mini-02 / POWER1”
    payload_open: “ON”
    payload_close: “ON”
    payload_stop: “ON”
    state_open: “ON”
    state_closed: “OFF”
    optomistic: false
    retain: false

customize.yaml
cover.test:
device_class: garage
friendly_name: Test Garage

groups.yaml
garage_doors:
name: Garage Doors
view: no
control: hidden
icon: mdi: garage
entities:
- cover.test

Performing the test using the command:
core-ssh: ~ # hassio has check
ERROR
starting version 3.2.4
Testing configuration at / config
Failed config
group:
- Invalid config for [group]: Entity ID - cover.test is an invalid entity id for dictionary value [‘group’] [‘garage_doors’] [‘entities’]. Got ‘- cover.test’. (See /config/configuration.yaml, line 110). Please check the docs at https://home-assistant.io/components/group/

Can you format your code using the info in the blue bar on top of this page please?
It’s really hard to help otherwise

ok
tks !

configuration.yaml
cover: !include covers.yaml

covers.yaml

 – platform: mqtt
    name: “test”
    state_topic: “cmnd/d1-mini-02/POWER2”
    command_topic: “cmnd/d1-mini-02/POWER1”
    payload_open: “ON”
    payload_close: “ON”
    payload_stop: “ON”
    state_open: “ON”
    state_closed: “OFF”
    optomistic: false
    retain: false

customize.yaml

    cover.test:
      device_class: garage
      friendly_name: Test Garage

groups.yaml

  garage_doors:
    name: Garage Doors
    view: no
    control: hidden
    icon: mdi:garage
    entities:
      – cover.test

My problem:

entities:
   – cover.test

How to create cover.test?

references:

Thank you problem solved