Blinds X10

good morning,
I have invented by all means to understand how to make Ha, detect my blind motors, instead of as a light like blinds but without success.

Actually I use X10 technology and my code so that I can adjust it in height is:

Light:

####Blinds

  • platform: mochad
    devices:

###Office
- address: c6
name: Blind_Dispatch
comm_type: pl
brightness_levels: 32

it works perfectly, but as a light

How could I have it detected as a blind

Thank you

I have tried this configuration without success

  • platform: template
    covers:
    Blind_Design:
    friendly_name: “Persiana_Despacho”

    open_cover:
      service: switch.turn_on
      data:
        entity_id: light.persiana_despacho
    close_cover:
      service: switch.turn_off
      data:
        entity_id: light.persiana_despacho
    stop_cover:
      service: switch.turn_on
      data:
        entity_id: switch.persiana_despacho
    icon_template: mdi: garage
    

any ideas