name: CCT lightbulb
products:
  - id: dqs8oqdeccnqjfkx
    name: A60 lightbulb
  - id: znfxaaxc89zz6m5a
    name: A65 lightbulb
  - id: c59bbbt5xsm6fkkk
    name: Laser 10W Smart White Bulb E27
  - id: t6kkutyhtbbohacx
    name: Connect 10W Smart White Bulb E27
  - id: owzzoxsdudnxgije
    name: Genio CCT Downlight
primary_entity:
  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
secondary_entities:
  - entity: number
    translation_key: timer
    category: config
    dps:
      - id: 26
        type: integer
        name: value
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
        optional: true
