name: Dimming CCT light
products:
  - id: fkxcslivaluonzdp
    manufacturer: LightStar
    name: Track light
entities:
  - entity: light
    dps:
      - id: 20
        type: boolean
        name: switch
      - id: 22
        name: brightness
        type: integer
        range:
          min: 5
          max: 1000
      - id: 23
        name: color_temp
        type: integer
        range:
          min: 0
          max: 1000
        mapping:
          - target_range:
              min: 3000
              max: 6000
      - id: 106
        name: identity
        optional: true
        type: string
