name: Fireplace
products:
  - id: 6lmohn7hdu9uh78r
    manufacturer: Dynasty
    model: BTX
entities:
  - entity: climate
    icon: "mdi:fireplace"
    dps:
      - id: 1
        name: hvac_mode
        type: boolean
        mapping:
          - dps_val: false
            value: "off"
          - dps_val: true
            value: heat
      - id: 3
        name: current_temperature
        type: integer
      - id: 5
        name: temperature
        type: string
        unit: C
        range:
          min: 16
          max: 30
        mapping:
          - dps_val: "0"
            value: 16
          - dps_val: "1"
            value: 19
          - dps_val: "2"
            value: 21
          - dps_val: "3"
            value: 23
          - dps_val: "4"
            value: 25
          - dps_val: "5"
            value: 27
          - dps_val: "6"
            value: 30
      - id: 13
        name: temperature_unit_setting
        type: string
        mapping:
          - dps_val: "c"
            value: C
          - dps_val: "f"
            value: F
      - id: 107
        name: fan_mode
        type: string
        mapping:
          - dps_val: "0"
            value: "off"
          - dps_val: "1"
            value: high
          - dps_val: "2"
            value: low
  - entity: select
    translation_key: timer
    category: config
    dps:
      - id: 108
        type: string
        name: option
        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"
  - entity: sensor
    translation_key: time_remaining
    class: duration
    category: diagnostic
    dps:
      - id: 109
        type: integer
        name: sensor
        unit: min
  - entity: light
    translation_key: flame
    category: config
    dps:
      - id: 101
        type: boolean
        name: switch
  - entity: select
    name: Flame red
    icon: "mdi:fire"
    category: config
    dps:
      - id: 102
        type: string
        name: option
        mapping:
          - dps_val: "0"
            value: "Off"
          - dps_val: "1"
            value: Low
          - dps_val: "2"
            value: Medium
          - dps_val: "3"
            value: High
  - entity: select
    name: Flame blue
    icon: "mdi:fire"
    category: config
    dps:
      - id: 103
        type: string
        name: option
        mapping:
          - dps_val: "0"
            value: "Off"
          - dps_val: "1"
            value: Low
          - dps_val: "2"
            value: Medium
          - dps_val: "3"
            value: High
  - entity: select
    name: Flame yellow
    icon: "mdi:fire"
    category: config
    dps:
      - id: 104
        type: string
        name: option
        mapping:
          - dps_val: "0"
            value: "Off"
          - dps_val: "1"
            value: Low
          - dps_val: "2"
            value: Medium
          - dps_val: "3"
            value: High
  - entity: light
    translation_key: embers
    dps:
      - id: 106
        type: string
        name: switch
        mapping:
          - dps_val: "0"
            value: false
          - dps_val: "1"
            value: true
          - value: true
            hidden: true
      - id: 106
        type: string
        name: named_color
        mapping:
          - dps_val: "0"
            value: black
          - dps_val: "1"
            value: red
          - dps_val: "2"
            value: orange
          - dps_val: "3"
            value: yellow
          - dps_val: "4"
            value: green
          - dps_val: "5"
            value: teal
          - dps_val: "6"
            value: blue
          - dps_val: "7"
            value: lightblue
          - dps_val: "8"
            value: darkblue
          - dps_val: "9"
            value: powderblue
          - dps_val: "10"
            value: purple
          - dps_val: "11"
            value: pink
          - dps_val: "12"
            value: violet
          - dps_val: "13"
            value: white
