name: CCT lightbulb
products:
  - id: dqs8oqdeccnqjfkx
    model: A60
  - id: znfxaaxc89zz6m5a
    model: A65
  - id: c59bbbt5xsm6fkkk
    manufacturer: Laser
    model: 10W smart white bulb E27
  - id: t6kkutyhtbbohacx
    manufacturer: Connect
    model: 10W smart white bulb E27
  - id: owzzoxsdudnxgije
    manufacturer: Genio
    name: CCT downlight
entities:
  - entity: light
    dps:
      - id: 20
        type: boolean
        name: switch
      - id: 21
        name: work_mode
        type: string
      - id: 22
        name: brightness
        type: integer
        range:
          min: 10
          max: 1000
      - id: 23
        name: color_temp
        type: integer
        range:
          min: 0
          max: 1000
        mapping:
          - target_range:
              min: 2700
              max: 6500
      - id: 25
        name: scene
        type: hex
        optional: true
  - entity: number
    translation_key: timer
    class: duration
    category: config
    dps:
      - id: 26
        type: integer
        name: value
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
        optional: true
