name: Curtain
legacy_type: smartcurtain_acs_wt
products:
  - id: spjpuwf1u2dc7tlt
    model: SmartCurtain 3
entities:
  - entity: cover
    class: curtain
    dps:
      - id: 101
        type: string
        name: control
        mapping:
          - dps_val: open
            value: open
          - dps_val: close
            value: close
          - dps_val: stop
            value: stop
      - id: 102
        type: integer
        name: current_position
      - id: 104
        type: integer
        name: position
  - entity: select
    name: Direction
    icon: "mdi:swap-horizontal"
    category: config
    dps:
      - id: 103
        type: boolean
        optional: true
        name: option
        mapping:
          - dps_val: false
            value: Forward
          - dps_val: true
            value: Reverse
          - dps_val: null
            value: Forward
            hidden: true
