name: Drying rack
products:
  - id: 5gtjlyeeljy7ufe4
    manufacturer: Steigen
    model: Solar Pro
entities:
  - entity: cover
    icon: "mdi:hanger"
    dps:
      - id: 2
        type: string
        name: control
        mapping:
          - dps_val: up
            value: open
          - dps_val: down
            value: close
          - dps_val: stop
            value: stop
      - id: 3
        type: integer
        optional: true
        name: position
        range:
          min: 0
          max: 100
      - id: 9
        type: string
        name: action
        mapping:
          - dps_val: up
            value: closing
          - dps_val: down
            value: opening
          - value: null
  - entity: light
    dps:
      - id: 4
        type: boolean
        name: switch
  - entity: switch
    name: Fan
    icon: "mdi:weather-windy"
    dps:
      - id: 6
        type: boolean
        name: switch
  - entity: switch
    name: Heat
    icon: "mdi:heat-wave"
    dps:
      - id: 7
        type: boolean
        name: switch
  - entity: select
    name: Heat timer
    translation_key: timer
    category: config
    dps:
      - id: 11
        type: string
        optional: true
        name: option
        mapping:
          - dps_val: cancel
            value: cancel
          - dps_val: "1h"
            value: "1h"
          - dps_val: "2h"
            value: "2h"
          - dps_val: "3h"
            value: "3h"
          - dps_val: "4h"
            value: "4h"
          - dps_val: "5h"
            value: "5h"
          - dps_val: "6h"
            value: "6h"
  - entity: select
    name: Wind timer
    translation_key: timer
    category: config
    dps:
      - id: 13
        type: string
        name: option
        optional: true
        mapping:
          - dps_val: cancel
            value: cancel
          - dps_val: "1h"
            value: "1h"
          - dps_val: "2h"
            value: "2h"
          - dps_val: "3h"
            value: "3h"
  - entity: sensor
    name: Heat remaining
    class: duration
    category: diagnostic
    dps:
      - id: 15
        type: integer
        optional: true
        name: sensor
        unit: min
  - entity: sensor
    name: Wind remaining
    class: duration
    category: diagnostic
    dps:
      - id: 16
        type: integer
        optional: true
        name: sensor
        unit: min
  - entity: binary_sensor
    class: problem
    category: diagnostic
    dps:
      - id: 18
        type: bitfield
        name: sensor
        mapping:
          - dps_val: 0
            value: false
          - value: true
      - id: 18
        type: bitfield
        name: fault_code
  - entity: select
    name: Clothes position
    icon: "mdi:tshirt-crew"
    category: config
    dps:
      - id: 103
        type: string
        name: option
        mapping:
          - dps_val: center
            value: Center
          - dps_val: top
            value: Top
          - dps_val: bottom
            value: Bottom
