code: def call_alert(*args, **kwargs):
      '''
      Lamp alert
  
      Options:
  
      * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.
      * **on**: Turns on or off an alert. Default is True.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' hue.alert
          salt '*' hue.alert id=1
          salt '*' hue.alert id=1,2,3 on=false
      '''
      res = dict()
  
      devices = _get_lights()
      for dev_id in 'id' not in kwargs and sorted(devices.keys()) or _get_devices(kwargs):
          res[dev_id] = _set(dev_id, {"alert": kwargs.get("on", True) and "lselect" or "none"})
  
      return ref call_alert(*args, **kwargs):
      '''
      Lamp alert
  
      Options:
  
      * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.
      * **on**: Turns on or off an alert. Default is True.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' hue.alert
          salt '*' hue.alert id=1
          salt '*' hue.alert id=1,2,3 on=false
      '''
      res = dict()
  
      devices = _get_lights()
      for dev_id in 'id' not in kwargs and sorted(devices.keys()) or _get_devices(kwargs):
          res[dev_id] = _set(dev_id, {"alert": kwargs.get("on", True) and "lselect" or "none"})
  
      return res
docs: Lamp alert
  
      Options:
  
      * **id**: Specifies a device ID. Can be a comma-separated values. All, if omitted.
      * **on**: Turns on or off an alert. Default is True.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' hue.alert
          salt '*' hue.alert id=1
          salt '*' hue.alert id=1,2,3 on=false