name: Dimming lightbulb
products:
  - id: uoqzzanrvopvxddl
    name: Deta Grid Connect Smart 18W 1900lm Daylight T8 Tube DET018HA
  - id: vjapigi170njdq09
    name: Arlec Smart 4W 380lm Candle Dimmable Bulb GLD060HA
  - id: aok3caeleulg1neh
    name: S10 wireless dimmer
primary_entity:
  entity: light
  dps:
    - id: 20
      type: boolean
      name: switch
    - id: 22
      name: brightness
      type: integer
      range:
        min: 10
        max: 1000
secondary_entities:
  - entity: number
    translation_key: timer
    category: config
    dps:
      - id: 26
        type: integer
        name: value
        unit: min
        optional: true
        range:
          min: 0
          max: 86400
        mapping:
          - scale: 60
            step: 60
