name: Oil column heater
products:
  - id: 9vsptcjqb7ofdplr
    manufacturer: Rovsun
    model: NSC-150-7A2R
entities:
  - entity: climate
    translation_key: heater
    dps:
      - id: 1
        type: boolean
        name: hvac_mode
        mapping:
          - dps_val: false
            value: "off"
          - dps_val: true
            constraint: mode
            conditions:
              - dps_val: smart
                value: heat
              - dps_val: auto
                value: auto
      - id: 2
        type: integer
        name: temperature
        unit: F
        range:
          min: 40
          max: 95
      - id: 4
        type: string
        name: mode
        hidden: true
      - id: 5
        type: string
        name: preset_mode
        mapping:
          - dps_val: level_1
            value: low
          - dps_val: level_2
            value: medium
          - dps_val: level_3
            value: high
  - entity: light
    translation_key: display
    category: config
    dps:
      - id: 101
        type: boolean
        name: switch
        mapping:
          - dps_val: true
            value: false
          - dps_val: false
            value: true
  - entity: number
    translation_key: timer
    class: duration
    category: config
    dps:
      - id: 102
        type: integer
        name: value
        unit: h
        range:
          min: 0
          max: 24
