name: Tower fan
products:
  - id: xonvukal96pf99s6
    manufacturer: Goldair
    model: 101cm Tower Fan
entities:
  - entity: fan
    translation_only_key: fan_with_presets
    dps:
      - id: 1
        type: boolean
        name: switch
      - id: 2
        type: string
        name: preset_mode
        mapping:
          - dps_val: "1"
            value: normal
          - dps_val: "2"
            value: nature
          - dps_val: "3"
            value: sleep
      - id: 3
        type: integer
        name: speed
        range:
          min: 1
          max: 3
      - id: 5
        type: boolean
        name: oscillate
  - entity: sensor
    class: temperature
    dps:
      - id: 21
        type: integer
        name: sensor
        class: measurement
        unit: C
  - entity: number
    translation_key: timer
    class: duration
    category: config
    dps:
      - id: 22
        type: string
        name: value
        unit: h
        range:
          min: 0
          max: 12
