name: LED strip
products:
  - id: dga9j4k3myutu1qo
    name: Teberno LGC-005 OEM3
  - id: q5dhxp3mjrbmr5pi
    name: Novostella Chastar Rainbow permanent outdoor light
  - id: httjaqed1h4iteup
    name: Panamalar Sunset lamp
primary_entity:
  entity: light
  dps:
    - id: 20
      type: boolean
      name: switch
    - id: 21
      type: string
      name: color_mode
      optional: true
      mapping:
        - dps_val: white
          value: white
        - dps_val: colour
          value: hs
        - dps_val: scene
          value: Scene
        - dps_val: null
          value: white
          hidden: true
    - id: 24
      type: hex
      name: rgbhsv
      optional: true
      format:
        - name: h
          bytes: 2
          range:
            min: 0
            max: 360
        - name: s
          bytes: 2
          range:
            min: 0
            max: 1000
        - name: v
          bytes: 2
          range:
            min: 0
            max: 1000
    - id: 25
      type: string
      name: scene_data
      optional: true
secondary_entities:
  - entity: number
    translation_key: timer
    category: config
    dps:
      - id: 26
        type: integer
        name: value
        optional: true
        unit: min
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
