name: Dehumidifier
products:
  - id: jkscqnjueuczotho
    manufacturer: Cleverio
    model: AD100
entities:
  - entity: fan
    name: Dehumidifier
    translation_key: fan_with_presets
    dps:
      - id: 102
        type: boolean
        name: switch
      - id: 2
        type: string
        name: preset_mode
        mapping:
          - dps_val: sleep
            value: sleep
          - dps_val: High
            value: strong
  - entity: binary_sensor
    class: problem
    category: diagnostic
    dps:
      - id: 12
        type: bitfield
        name: sensor
        mapping:
          - dps_val: 0
            value: false
          - value: true
      - id: 12
        type: bitfield
        name: fault_code
  - entity: switch
    name: Air purifier
    category: config
    dps:
      - id: 101
        type: boolean
        name: switch
  - entity: binary_sensor
    name: Replace filter
    class: problem
    category: diagnostic
    dps:
      - id: 103
        type: boolean
        name: sensor
