name: Curtain rail motor
products:
  - id: XS76BY5Q1uKO6gjC
    manufacturer: Abalon
    model: BCM700D
  - id: p1fiefpamvaqek4u
    manufacturer: Quoya
    model: QL500
entities:
  - entity: cover
    class: curtain
    dps:
      - id: 101
        name: position
        type: integer
        range:
          min: 0
          max: 100
      - id: 102
        name: control
        type: string
        mapping:
          - dps_val: ZZ
            value: open
          - dps_val: FZ
            value: close
          - dps_val: STOP
            value: stop
  - entity: switch
    name: Reverse
    category: config
    icon: "mdi:arrow-u-down-left"
    dps:
      - id: 103
        type: boolean
        name: switch
        optional: true
