name: Tower heater
products:
  - id: jyota3jcxuelyf9t
    name: Kogan KASTHFP2KWA
primary_entity:
  entity: climate
  translation_only_key: heater
  dps:
    - id: 1
      type: boolean
      name: hvac_mode
      mapping:
        - dps_val: false
          value: "off"
        - dps_val: true
          value: heat
    - id: 2
      type: integer
      range:
        min: 10
        max: 35
      name: temperature
      unit: C
    - id: 3
      type: integer
      name: current_temperature
      mapping:
        - constraint: hvac_mode
          conditions:
            - dps_val: false
              invalid: true
    - id: 4
      name: preset_mode
      type: string
      mapping:
        - dps_val: LOW
          value: eco
        - dps_val: FAN
          value: none
          icon: "mdi:fan"
        - dps_val: HIGH
          value: boost
    - id: 8
      type: boolean
      mapping:
        - dps_val: true
          value: "on"
        - dps_val: false
          value: "off"
      name: swing_mode
secondary_entities:
  - entity: switch
    name: Flame effect
    category: config
    dps:
      - id: 10
        type: boolean
        name: switch
        mapping:
          - dps_val: true
            icon: "mdi:fire-circle"
          - dps_val: false
            icon: "mdi:fire-off"
  - entity: select
    translation_key: timer
    category: config
    dps:
      - id: 19
        name: option
        type: string
        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"
          - dps_val: 7h
            value: "7h"
          - dps_val: 8h
            value: "8h"
          - dps_val: 9h
            value: "9h"
          - dps_val: 10h
            value: "10h"
          - dps_val: 11h
            value: "11h"
          - dps_val: 12h
            value: "12h"
  - entity: binary_sensor
    class: problem
    category: diagnostic
    dps:
      - id: 21
        name: sensor
        type: bitfield
        mapping:
          - dps_val: 0
            value: false
          - value: true
