# ConforTech Platinum Electric Blanket
# Model No:TEB2045QB
# Controller Unit No: 039-WIFI

name: Electric blanket
products:
  - id: m3kmcn9evognklsp
    manufacturer: Tontine
    model: O39
entities:
  - entity: switch
    icon: "mdi:bed"
    dps:
      - id: 1
        type: boolean
        name: switch
  - entity: select
    name: Temperature
    icon: "mdi:thermometer"
    dps:
      - id: 4
        type: string
        name: option
        mapping:
          - dps_val: low
            value: "low"
          - dps_val: middle
            value: "middle"
          - dps_val: high
            value: "high"
  - entity: number
    class: duration
    translation_key: timer
    dps:
      - id: 9
        type: integer
        name: value
        unit: h
        range:
          min: 1
          max: 10
  - entity: sensor
    class: duration
    translation_key: time_remaining
    dps:
      - id: 10
        name: sensor
        type: integer
        unit: min
