name: TMWF02 fan controller
primary_entity:
  entity: fan
  dps:
    - id: 1
      type: boolean
      name: switch
    - id: 3
      type: string
      name: fan_level
    - id: 4
      type: integer
      name: speed
      range:
        min: 1
        max: 100
secondary_entities:
  - entity: number
    category: config
    translation_key: timer
    dps:
      - id: 2
        name: value
        type: integer
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
