name: Star projector
products:
  - id: okyhahmixunjmbca
    name: Galaxy projector
  - id: jteg9ktrhbxtiicz
    name: BlissLights Sky Lite Evolve SKY-EVOLVE-B-RCW8
primary_entity:
  entity: light
  dps:
    - id: 20
      type: boolean
      name: switch
    - id: 52
      type: boolean
      name: color_mode
      mapping:
        - dps_val: false
          value: white
        - dps_val: true
          value: hs
    - id: 24
      name: rgbhsv
      type: hex
      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: 10
            max: 1000
secondary_entities:
  - entity: number
    translation_key: timer
    dps:
      - id: 26
        type: integer
        name: value
        range:
          min: 0
          max: 86400
        unit: min
        mapping:
          - scale: 60
            step: 60
      - id: 51
        name: effect
        type: string
        mapping:
          - dps_val: scene
            value: Scene
          - dps_val: laser
            value: Laser
          - dps_val: colour
            value: Color
  - entity: light
    translation_key: laser
    dps:
      - id: 53
        type: boolean
        name: switch
      - id: 54
        name: brightness
        type: integer
        range:
          min: 10
          max: 1000
      - id: 51
        name: effect
        type: string
        mapping:
          - dps_val: scene
            value: Scene
          - dps_val: manual
            value: Manual
          - dps_val: music
            value: Music
  - entity: fan
    name: Laser movement
    icon: "mdi:rotate-3d-variant"
    dps:
      - id: 60
        type: boolean
        name: switch
      - id: 62
        type: integer
        name: speed
        range:
          min: 0
          max: 100
  - entity: select
    name: Theme
    icon: "mdi:movie-open-play"
    category: config
    dps:
      - id: 58
        type: string
        name: option
        mapping:
          - dps_val: "AAA="
            value: Cosmos
          - dps_val: "AAE="
            value: Sky
          - dps_val: "AAI="
            value: Space
          - dps_val: "AAM="
            value: Ocean
