name: Heater
products:
  - id: f2sycol9awtabrsp
    manufacturer: Sunred
    model_id: ZHQ2582
    model: Smart Triangle Dark Wall
entities:
  - entity: switch
    dps:
      - id: 1
        type: boolean
        name: switch
  - entity: sensor
    class: temperature
    dps:
      - id: 3
        name: sensor
        type: integer
        unit: C
        class: measurement
  - entity: number
    category: config
    name: Level
    dps:
      - id: 5
        type: string
        name: value
        range:
          min: 0
          max: 9
        mapping:
          - dps_val: "0"
            value: 0
          - dps_val: "1"
            value: 1
          - dps_val: "2"
            value: 2
          - dps_val: "3"
            value: 3
          - dps_val: "4"
            value: 4
          - dps_val: "5"
            value: 5
          - dps_val: "6"
            value: 6
          - dps_val: "7"
            value: 7
          - dps_val: "8"
            value: 8
          - dps_val: "9"
            value: 9
  - entity: select
    translation_key: timer
    class: duration
    category: config
    dps:
      - id: 11
        type: string
        name: option
        optional: true
        mapping:
          - dps_val: "0"
            value: cancel
          - dps_val: "1"
            value: "1h"
          - dps_val: "2"
            value: "2h"
          - dps_val: "3"
            value: "3h"
          - dps_val: "4"
            value: "4h"
          - dps_val: "5"
            value: "5h"
          - dps_val: "6"
            value: "6h"
          - dps_val: "7"
            value: "7h"
          - dps_val: "8"
            value: "8h"
          - dps_val: "9"
            value: "9h"
          - dps_val: "10"
            value: "10h"
          - dps_val: "11"
            value: "11h"
          - dps_val: "12"
            value: "12h"
          - dps_val: "13"
            value: "13h"
          - dps_val: "14"
            value: "14h"
          - dps_val: "15"
            value: "15h"
          - dps_val: "16"
            value: "16h"
          - dps_val: "17"
            value: "17h"
          - dps_val: "18"
            value: "18h"
          - dps_val: "19"
            value: "19h"
          - dps_val: "20"
            value: "20h"
          - dps_val: "21"
            value: "21h"
          - dps_val: "22"
            value: "22h"
          - dps_val: "23"
            value: "23h"
          - dps_val: "24"
            value: "24h"
